Answer Posted / neeraj agrawal
nested class are those class with in another class
whose defined in static modifier while inner class are those class with in another class is called inner class.
ya we can say static class are nested class while inner class are non static class.
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
How to create an immutable class?
why are there separate wait and sleep methods? : Java thread
Does A Class Inherit The Constructors Of Its Superclass?
what is meant wrapper classes?
What is finally in Java?
How to create a thread in java?
Write a java program that prints all the values given at command-line.
What’s the difference between unit, integration and functional testing?
What is the difference between comparison done by equals method and == operator?
Is singleton thread safe in java?
What is the collections api in java programming?
What are scriptlets?
Is empty list java?
Why stringbuffer is faster than string?
How to avoid memory leak in java?