Skip to content

difference between creating an object and instantiating an object [closed]

I’m not able to understand difference between creating an object and instance of an object.

so when you say creating an object in java, we create it like object_name = new constructor();

so what’s happening behind the scenes as well?

Answer

Creating an Object and instantiating an Object is the same thing