PPT Slide
Access to Fields and Methods
public: accessible anywhere the class is and
private: accessible ONLY in the class itself
protected: accessible to subclasses and code
in the same package and inherited
package: accessible only to code and inherited
only by subclasses in the same
How does this compare to C++ ?