Computer Science, asked by pl123, 1 year ago


What do you understand by dynamic initialization?

Answers

Answered by NikhilCr7jr
4
ANSWER- DYNAMIC INITIALISATION OF OBJECT REFERS TO INITIALISING THE OBJECT AT RUNTIME THAT IS THE INITIAL VALUE OF AN OBJECT IS TO BE PROVIDED DURING RUNTIME . IT CAN BE ACHIEVED USING CONSTRUCTORS AND PASSING PARAMETERS VALUES TO THE CONSTRUCTOR.

HOPE IT'S HELPFUL AND MARK ME AS A BRAIN LIST....
Answered by harshu006
2

Answer:

Dynamic initialization of object refers to initializing the objects at run time i.e. the initial value of an object is to be provided during run time. Dynamic initialization can be achieved using constructors and passing parameters values to the constructors. This type of initialization is required to initialize the class variables during run time.

  • Need of dynamic initialization
  • Dynamic initialization of objects is needed as It utilizes memory efficiently.
  • Various initialization formats can be provided using overloaded constructors.
  • It has the flexibility of using different formats of data at run time considering the situation

hopes this help u

plz mark it as brainlist and follow me ✨✨✨✨✨✨✨✨✨✨✨✨✨✨

Similar questions