Myclass. obj; can we use other than "obj" when calling classes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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

31st Dec 2016, 12:48 PM
fazrina aznan
fazrina aznan - avatar
2 Answers
+ 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