0

What happens if we remove the private declarations ?

I tried it in the code .. it was showing errors and not compiling... but it must compile right?? private is just declared so that those variables can't be changed ? so why is it not running the programme ?

7th Jun 2017, 5:08 AM
Gopal Krishna Mishra
Gopal Krishna Mishra - avatar
1 Odpowiedź
+ 13
If you do not declare your private objects, they do not even exist.
7th Jun 2017, 5:34 AM
Hatsy Rei
Hatsy Rei - avatar