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
How does class forname work in java?
What is a nested structure?
Explain the term virtual machine?
Can we create a class inside a class in java?
Can we access the non-final local variable, inside the local inner class?
What is string builder in java?
How is Object Oriented Programming different from Procedure Oriented Programming?
Is char * a string?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
How do you sing an Applet ?
Can we change the value of static variable?
How to use string tokenizer class.
How can I right-justify a string?
Can an abstract class be a final class?
When can we say that threads are not lightweight process in java?