Java Interview Question: What is an Object and how do you allocate memory to it?
Object in Java 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.
You can see the full list of Java Interview Questions Here
If you have any questions or comments please email me at firstname.lastname@example.org