Tuesday, November 29, 2011

Core Java Interview Questions :What are Access Specifiers?

One of the techniques in object-oriented programming is encapsulation. It concerns the hiding of data in a class and making this class available only through methods. Java allows you to control access to classes, methods, and fields via so-called access specifiers..:public, protected, private are the access specifiers...

No comments:

Post a Comment