what is difference betwenn Access Specifier and Access
Modifier ????
Answer Posted / 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 |
Post New Answer View All Answers
Can a java program have 2 main methods?
What are invisible components?.
What exactly is java?
What type of variable is gender?
How do you initialize an arraylist in java?
Can a function return a function?
Can a private method be declared as static?
How we can declare a static variable?
What is ellipsis in java?
Can a constructor call the constructor of parent class?
Why does java have different data types for integers and floating-point values?
What language is java written?
What is a memory leak in java?
What is the reason behind using constructors and destructors?
What is a vararg?