what is the use of having public methods when the class is having a default access modifier?
<p>as for my observation when the class itself is having default access modifier, what is the use of having public methods in it. the java compiler could have stopped using public methods in default class. is there any reason for that?</p>
