what is difference betwenn Access Specifier and Access
Modifier ????
Answers were Sorted based on User's Feedback
Answer / praveen111tripathi
Access Specifiers specify the scope of anything(D.M,Member
function ,class)while Access modifiers define that thing's
accessibility in different scops
A.S. in java
1-Public
2-default
3-protected
4-private
A.M. in java
static,final etc.
| Is This Answer Correct ? | 19 Yes | 1 No |
Answer / 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 |
What is string buffer?
What is module with example?
What about main() method in java ?
What is the preferred size of a component?
What is compareto () in java?
What is the method used to get the absolute value of a number?
what is a thread?
Is 9 a prime number?
What is a null point?
What is runtime locatable code?
write a program to create an vector with string(add,remove) operation.and value should be enter through keyboard.
In java how do we copy objects?