what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / ajeesh
access specifier
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. In this
way the chance of making accidental mistakes in changing
values is minimized. Java allows you to control access to
classes, methods, and fields via so-called access specifiers.
| Is This Answer Correct ? | 3 Yes | 7 No |
Post New Answer View All Answers
What are the differences between the constructors and methods?
What does substring mean?
What is the use of math abs in java?
Is string is a data type?
In which order the iterator iterates over collection?
How do you override a method in java?
What is literal example?
what is the purpose of using rmisecuritymanager in rmi?
Can you achieve runtime polymorphism by data members?
Can we create more than one object singleton class?
Are variables stored in ram?
Explain inheritance in java?
What is arraylist class in java?
Can interface be private in java?
When we serialize an object does the serialization mechanism saves its references too?