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
How we create object in copy constructor?
Can constructor be inherited?
Difference between collection, collection and collections in java?
What is the difference between jvm and jre? What is an interface?
what is the swingutilities.invokelater(runnable) method for? : Java thread
Which sort is best in java?
how would you implement a thread pool? : Java thread
What is a class in java?
Explain the difference between arraylist and linkedlist in java?
What is the difference between int and integer in java?
Is empty .java file name a valid source file name?
Explain about assignment statement?
What is a short in java?
What is a for loop in java?
What is a stringbuilder?