return statement in java
hi all, i need help in using a java "return statement" to return: a fullName, a firstName, lastName and initials with lastName.
what i have done so far:
public class ReturnAllValues
public static void main(String  args)
String name = "Faith Hill";
public String getName()
the program compiles fine but does not return the value of "name". what am i doing wrong?
what must i do to return all the values?
your assitance is great appreciated. thank you!