9
A very simple question:
Given that class:
public class User {
private String nome;
//get/set
public boolean fazQualquerCoisa(){
**duvida**.equals("algumacoisa");
}
}
Within the method did All() I must access the name directly or using the get method?
nome.equals ou getNome().equals
?
Thank you so much for clarifying that for me!
– Paulo Gustavo