Java

Topic: Constructors

What is Dynamic constructor ?

We can also use constructor to allocate memory while creating objects. This will enable the system to allocate the right amount of memory for each object, thus resulting in the saving of memory. Allocation of memory to object at the time of their construction is known as dynamic construction of objects.

Browse random answers: