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

Answer Posted / murali m

Access Specifiers
They are used to set the visibility of a
class or variable or a method.
ex:public,private,protected and default.

Access Modifiers
They are used to optionally declare a
field.
ex:abstract,native,transient,final,static and volatile.

Is This Answer Correct ?    58 Yes 35 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about interrupt() method of thread class ?

656


Can I learn java without any programming experience?

546


What is instance synchronization?

534


What is the integer of 16?

531


Define an abstract class with reference to java.

572






Explain about join() method?

533


Can It is possible to synchronize the constructor of a Java Class?

588


What is valid keyword in java?

545


What are the major advantages of internal iteration over external iteration?

565


What are the three parts of a lambda expression?

525


What are the types of exceptions?

584


How do you use find and replace?

501


What is lazy initialization in java?

549


What does split function do in java?

529


can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread

528