what is the Diff. between Access Specifiers and Access
Modifiers?
Answer Posted / santosh kumar(siddhu)
Acess specifer gives some boundry to access.
these r 1)Public(boundry:any where with in package and
outside of package)
2)Private(Boundry:within class scope only)
3)Defult(Boundry:within package scope only)
4)Protected(Boundry:within package scope and
outside subclass of this package class)
Acess modifier change the properties,Behaviour
these are
Public
Abstract
Final
Static
Volatile
Synchronized
Transient
Native
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What is an abstract class and what is it’s purpose?
a thread is runnable, how does that work? : Java thread
What is the primitive type short?
What is strings in java?
what is abstract class in Java?
What is the default value of local and global variables?
How do you declare a destructor in java?
Java is Pass by Value or Pass by Reference?
How to invoke external process in java.
What do you mean by constructor?
Wha is the output from system.out.println(“hello”+null); ?
if u open login & logout ,how can udisplay the timelogin & logout members ?
What are the ways to instantiate the class class?
Can we use different return types for methods when overridden?
What Is Query Throttling in java?