What are access specifiers available in java?
Answer / Amardeep Kumar
Java provides four access specifiers: private (accessible only within the same class), protected (accessible within the same package and subclasses of other packages), default (accessible within the same package), and public (accessible from any class).
| Is This Answer Correct ? | 0 Yes | 0 No |
Can any one say how will sort map objects in java?
Write the algorithm to check the number non-leaf nodes in a tree.
Is integer a class?
What is escape analysis algorithm in JVM and how garbage collection actually worked n how it transfer the objects from one kind of space to other?
What is boolean logic?
Does anyone still use java?
Explain what do you mean by functional overloading in java?
What is an Iterator interface?
What are the ways to instantiate the class class?
What is a nested structure?
How to do validation of the fields in any project ?
What is the difference between Array and Hash Table?