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

Answer Posted / dev

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 ?    363 Yes 94 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does next mean in java?

731


What causes memory leak in java?

687


What exactly is methodology?

672


How to write custom exception in java?

813


What is difference between Heap and Stack Memory?

738


What is the difference between a method and a procedure?

748


Why parsing is done?

730


What is the synchronized method modifier?

832


What about method local inner classes or local inner classes in java?

813


what are Hostile Applets?

1794


What is finally and finalize in java?

791


What is private static class in java?

742


What are the steps in the jdbc connection?

762


Can you extend main method in java?

833


What are the super most classes for all the streams?

1766