+ 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 Respostas
+ 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