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
In java, how many ways you can take input from the console?
What are the 3 types of control structures?
What is the purpose of lambda expressions?
What is string value?
What are default methods ?
What is length in java?
Can two objects have same hashcode?
What are the four pillars of java?
Explain different ways of creating a thread?
What are format specifiers in java?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
Explain the features of java?
What is a byte string?
What is the largest long allowed by java?
Which is bigger double or float?