Would some one be able to help me please?
If I have a class like this
public class a {
public String b (String c){
String d = "e";
return d;
}
}
When I call a f = new a();
f.b();
I'm unable to have the string d returned. I get the error "cannot be applied to ()"
I'm sure I'm doing something stupid but I cant work it out.