what is the Diff. between Access Specifiers and Access
Modifiers?

Answer Posted / indrabahadur singh

Access specifiers ::

The access specifier determines how accessible the field is
to code in other classes. Access ranges from totally
accessible to totally inaccessible. You can optionally
declare a field with an access specifier keyword: public,
private, or protected.


Access Modifiers ::

You can optionally declare a field with a modifier keyword:
final or volatile and/or static and/or transient.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many ways can you break a singleton class in java?

477


What is java ceil?

561


Can singleton class be cloned?

551


What are the important methods of java exception class?

564


What is a method header?

541






Can you pass functions in java?

561


Are arrays dynamic in java?

528


In how many ways we can do exception handling in java?

569


What's the difference between an abstract class and interface in java?

550


What are triggers in DB? Explain their types. How do they work?

616


what are the disadvantages of indexes in oracle?

1857


How many types of exception can occur in a java program?

526


What is quick sort in java?

547


What is the file extension for java?

599


How many ways can we create the string object?

526