Hey again, Ankit : )
Can you elaborate more about your statement?
2. It doesn't matter whether InnerClass extends OuterClass or not, you can't create an anonymous inner class of a non-static inner class...
Here I am making an anonymous inner class from a non-static inner class, it compiles and prints out "Greetings from inner class"
Thanks for your patience.