Thyagarajan:
..is this an example of an anonymous inner class? Your example appears to be simply as a object reference to a Father type named son: Inner classes share more of an internal intimate relationship with their outer class, than an inheritance relationship(though it is indeed inheritance of sorts). I would assume, that inner classes anonymous and non, are a special sort of inheritance, where the outer (containing class) is the holding class rather than a superclass. Also due to the fact that, an instance of the outer class must be made to access the inner class by any sub-classes, suggests a specialized inheritance. I'm not very certain but, is it true that inner classes usually dont have constructors?
However, let me know if I am terribly wrong!
