I need to know what is the main purpose of becoming an obj of class and const (const MyClass obj;) | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

I need to know what is the main purpose of becoming an obj of class and const (const MyClass obj;)

Help me understand the purpose of const MyClass obj;

1st Feb 2017, 4:03 PM
Ilidio Jelson Isaac Paulino
Ilidio Jelson Isaac Paulino - avatar
2 ответов
+ 10
A constant (variable that cannot change value) object is created with the nane "obj" and belongs to the class "MyClass"
1st Feb 2017, 4:11 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
thanks broo valentin))
1st Feb 2017, 4:13 PM
Ilidio Jelson Isaac Paulino
Ilidio Jelson Isaac Paulino - avatar