October 11, 2010 at 5:32 PM
Object is an instance of a class and it is a software unit that combines a structured set of data with a set of operations for inspecting and manipulating that data. When an object is created using new operator, memory is allocated to it.
October 23, 2010 at 4:00 PM
Here is the answer.
object is intance of class which use to access data member and data funtion of class.
The JVM would take care of allocating as much memory that your objects would require automatically.
By using "new" operator we can
allocate the memory of an object.