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 does @override mean?
What is a bufferedreader?
What is java’s garbage collected heap?
What are the 5 types of research methods?
Why does java have two ways to create child threads? Which way is better?
Can static method access instance variables ?
What is string manipulation?
What are drawbacks of singleton class?
What is byte data type?
What are the object and class classes used for?
Where we write javascript code in html page?
What will be the initial value of an object reference which is defined as an instance variable?
What is definition and declaration?
What is functional interface in java?
What is collections framework?