Hi,
I am preparing for the
SCJP but i fount is interesing while i observed some scenarios. I am curious about these things and want to get my doubts cleared.Here are the some observations i could make out.
1. What is the sigmificance of a regular inner class which is abstract or an interface.
2. If i have a inner class which is abstract or an interface what is its significance outside the class, For ex:
public class
Test {
public abstract class Inner{
}
}
class Test1 extends Test{
Test.Inner ob = new Test().new Inner();
}
Can i instantiate the inner class somehow in Test1.If yes what will be the syntax.