A very simple question:
Given this class:
public class User {
private String nome;
//get/set
public boolean fazQualquerCoisa(){
**duvida**.equals("algumacoisa");
}
}
Within the method Does AnyCase () , should I access the name directly or using the get method?
nome.equals ou getNome().equals
?