When Is The Memory Allocated For An Object #348
When is the memory allocated for an object?
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 OOps Objects - OOPs MCQ: Memory Allocation of Object - Quiz No.1.
When is the memory allocated for an object?
At declaration of object
At compile time
When object constructor is called
When object is initialized to another object