Information Hiding VS Encapsulation

A public member isn’t global if it isn’t also static, for access to a (non static) public member you need to create an object of that class so that don’t break the concept of encapsulation.

Leave a Comment