what is nested class in java?
Answer / Bhupendra Sharma
Nested classes in Java are inner classes that are declared within another class. There are two types of nested classes: static nested classes (can be accessed without an instance of the outer class) and non-static nested classes (must be associated with an instance of the outer class).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the default initialized value of String type variable?
What is the Scope of Static Variable?
What is type safety in java?
What are drawbacks of singleton class?
what are depricated methods ?
There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation?
what is main purpose of abstract class?
Is age discrete or continuous?
What is Applet Flickering ?
1 Answers Infosys, Persistent,
How to sort the elements in HashMap
What is identifier in java?
what are the rules to use try catch finally?