The Question : 743 people think this question is useful All my college years I have been using public, and would like to know the difference between public, private, and protected? Also what does static do as opposed to having nothing? The Question Comments : The Answer 1 1024 people think this answer is useful
The Question : 3270 people think this question is useful In Java, are there clear rules on when to use each of access modifiers, namely the default (package private), public, protected and private, while making class and interface and dealing with inheritance? The Question Comments : private hides from other classes within the package. public
The Question : 3270 people think this question is useful In Java, are there clear rules on when to use each of access modifiers, namely the default (package private), public, protected and private, while making class and interface and dealing with inheritance? The Question Comments : private hides from other classes within the package. public