Latest beginner tagged on "Class"

Java Inner Class

In java Inner class or nested class is declared inside the class or interface. We use inner class because it increases more readable & maintainable of code....

 2756 View(s)

Encapsulation

The whole idea behind encapsulation is to hide the implementation details from users. If a data member is private it means it can only be accessed within the same class. No outside class can access private data member (variable) of other class....

 3160 View(s)