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 a text string?
Can an integer be null java?
Can a static class have a constructor?
How infinite loop is declared?
What is the difference between a window and a frame in java programming?
make a method which any number and any type of argument and print sum of that arguments.....
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
What is finalize()? Is finalize() similar to a destructor?
Explain differences between checked and unchecked exceptions in java?
What is the use of accept () method in java?
What is an arraylist in java?
What is slash r?
Why we do exception handling in java and how many types of exceptions are there?
What is JVM and is it platform independent?
How do you create a sop?