How does Instantiation work. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

How does Instantiation work.

Out of many topics I have gone through, for now, Instantiation is really giving a tough time. Who knows how it works should please help.

25th Nov 2019, 2:57 AM
Adeagbo Toheeb A.
Adeagbo Toheeb A. - avatar
1 ответ
+ 3
Instantiation is process which is performed by compiler when we create object of a class... Compiler calls constructor of that class and performs task from constructor method. At the end, we would have object of class available to us
25th Nov 2019, 3:28 AM
Ketan Lalcheta
Ketan Lalcheta - avatar