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 is object data type?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
What are the types of sockets in java?
What are the three types of design patterns?
When will you define a method as static in Java?
What is unicode with example?
Write a program in java to find the maximum and minimum value node from a circular linked list.
Which variables are stored in heap?
What is nested loop? What is dangling else condition in it?
What is set string?
Why are getters and setters used?
What is a lock or purpose of locks in java?
What are the advantages of arraylist over arrays?
What is a class reference?
What technique can be employed to compare two strings?