Consider the following code:
What will be the output when class
Test is run ?
Options :1) It will print 1
2)It will print ii=2, j=3, jj=4 and then 1
3)It will print ii=2 and then 1
4)It will not compile
5)None of the above..
Answer: 1)It will print 1.
I cannot understand how does the output only prints 1 without printing the value of ii
??
Please explain..
Sonir