"Hi, Amigo!"
Interview questions | |
---|---|
1 | What types of nested classes are there? |
2 | What does an anonymous class become when it is compiled? |
3 | Why use the keyword final when creating anonymous classes? |
4 | What is the right way to create an instance of a nested inner class? |
5 | What is the right way to create an instance of a static nested class? |
6 | Can you declare static methods/variables in a nested inner class? |
7 | Name any three of static nested classes. |
8 | How do nested classes solve the problem of multiple inheritance in Java? |
9 | What is the difference between anonymous classes based on an interface and those based on a class? |
10 | Can you create an anonymous static nested class? |
GO TO FULL VERSION
staticnested classes." and the and the answer : the inner class, method-local inner class, anonymous inner class Thx