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
Can we override a variable in java?
What is jagged array in java?
How many types of string data types are there?
Difference between abstract and concrete class ?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Can two objects have same hashcode?
What is the benefit of using enum to declare a constant?
Define packages in java?
What are the differences between stringbuffer and stringbuilder?
Is void a return type?
Why array is used in java?
What is a variable in java?
What is the purpose of void class?
String class is defined under which package in java?
What is static synchronization?