Is this valid only for constructors | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Is this valid only for constructors

:variable(value), is this valid only for constructors?

2nd Jan 2018, 6:49 PM
Panda
Panda - avatar
1 ответ
+ 3
Yes, member initialization is only available for use with constructors.
3rd Jan 2018, 4:36 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar