


Hi,
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.
Thanks.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.