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
How to check if a list is sorted in java?
Why java is secure? Explain.
Describe how to implement singleton design pattern in struts.
Why singleton pattern is better than creating singleton class with static instance?
How many types of exception can occur in a java program?
What are keywords and reserved words in java?
What is the best definition for data?
What is the effect of keeping a constructor private?
Can we extend immutable class?
What is the use of generics? When was it added to the Java development Kit?
What is enhanced loop in java?
why would you use a synchronized block vs. Synchronized method? : Java thread
What is the length of a string?
Does hashset allow duplicates in java?
Is zero a natural number?