0
Why am i getting error in that code ?why can't we do like that?
2 Réponses
+ 1
Just delete obj.a; at line 5.
If you write this without any statement like:
Obj.a=5;
The program will get error
0
delete at line 5, Sololearn counts lines incorrect
//obj.a;
System .out.println (obj.a);
obj.a do nothing, it is not method nor assignment