Answer Posted / karthee
Static inner class
can only access the static members of the enclosing class.
not associated with the instance of the enclosing class.
can only have static members.
Nonstatic class
is associated with the instance of the enclosing class.(we
need it first to access the nonstatic class)
can access all the member of the encosing class.
is like other members of the enclosing class.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is abstract class in Java?
What's the base class of all exception classes?
What are Normalization Rules? Define Normalization?
What exactly is methodology?
How do you represent a space in regex java?
What is matcher in java?
What is the difference between hashmap and hashtable in java?
What is structure of java heap? What is perm gen space in heap?
What are static blocks and static initalizers in java ?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
What are packages in java?
Can we change the scope of the overridden method in the subclass?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
What do you mean by exception handling in Java?
What is the synonym of framework?