i'm not quite sure how it is suppose to return anything when you don't even call the function...
public class ReturnAllValues
private String name = "Faith Hill";
public static void main(String  args)
String myName = getName();
public String getName()
.... that is an example of a code that would 'return' the name
and what do you mean by 'return all the values'?