What are the differences between the public, private and protected visibility modifiers?
Sigiloso
public:data available across all packages and classes. Protected:data available across all the child class within a package. private:data available within class only. Default:data available within the same package.