0
Whats the difference between public, private and protected in java..???
2 Answers
+ 4
Read about Java access modifiers here:
http://www.geeksforgeeks.org/access-modifiers-java/
Hth, cmiiw
+ 1
private - accessible to the classes only.
protected - accessible to class, package, and subclasses
[default] - accessible to the class and package
public - accessible to global
More... http://net-informations.com/java/basics/modifiers.htm