I am new to java, and I have a question. after surfing the web for a while, searching for an answer. I've got more confused about this.
so here's my question :
public class game{
private String gameName;
String getGameName(){
return gameName;
}
}
so what is the access modifier of the method getGameName()? this question might of been asked before, but i've seen varied answers that got me more confused about the answer!