Myclass. obj; can we use other than "obj" when calling classes? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Myclass. obj; can we use other than "obj" when calling classes?

31st Dec 2016, 12:48 PM
fazrina aznan
fazrina aznan - avatar
2 Respostas
+ 7
Yes, you can. Just like declaring any other variable, you can use valid terms which you prefer. The examples in the tutorials standardised to 'obj' for simple reference.
31st Dec 2016, 2:46 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
@Hatsy Rei thanks very much :)
31st Dec 2016, 5:16 PM
fazrina aznan
fazrina aznan - avatar