what is difference betwenn Access Specifier and Access
Modifier ????
Answer Posted / sudhir dhumal
Access specifiers specify the access level.
There are four access specifiers:
public, private, protected and default
Access modifiers are the keywords used to modify the statement and specify the access level.
There are three access modifiers:
public, private and protected
*Here we don't write default which means we are not modifying the statement so its not a access modifier it just specify the access level
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
When should I use singleton?
What is an example of declaration?
What is type parameter in java?
What is loop in java?
Which is better stringbuffer or stringbuilder?
What are multiple inheritances? Is it supported by java?
Should you use singleton pattern?
What does this () mean in java?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
Can I uninstall java?
Can we define package statement after import statement in java?
what is meant by abstract class?
What are scriptlets?
What is an interface in java?
How do you create a bulleted list?