Aashish Jd wrote:or in other sense how is it possible that the object of a class can be created inside its own class
Because the class is the definition, the object is...well...an object.
I can describe a car to you; even show you a photograph or blueprints for it; without having to have an actual car. The object is
the car; the class is the design document for the engineer (or, in Java's case, the JVM) that
builds a car.
Winston