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


Please Help Members By Posting Answers For Below Questions

What is meant by class loader? How many types are there?

924


What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

953


What is string [] args?

801


Why java is not 100% object-oriented?

1206


Does java vector allow null?

736


How to restrict a member of a class from inheriting by its sub classes?

1090


Tell me are there implementations for sorting and searching in the java libarary?

831


Are floats faster than doubles?

797


What is tochararray in java?

718


What is the purpose class.forname method?

759


What is a parameter in simple terms?

767


What is the gregoriancalendar class in java programming?

796


Can you start a thread twice in Java?

867


Can a lock be acquired on a class in java programming?

742


I want to re-reach and use an object once it has been garbage collected. How it's possible?

785