0

Z output

int x=34 int y=x++ int z=y

7th Feb 2017, 6:20 PM
Hamza Zejnilagić
Hamza Zejnilagić - avatar
6 Antworten
+ 5
34 if you add semicolons
7th Feb 2017, 6:56 PM
seamiki
seamiki - avatar
+ 2
system.out.print(z);
7th Feb 2017, 6:46 PM
seamiki
seamiki - avatar
0
what would be the output in this case?
7th Feb 2017, 6:54 PM
Hamza Zejnilagić
Hamza Zejnilagić - avatar
0
thanks
7th Feb 2017, 7:00 PM
Hamza Zejnilagić
Hamza Zejnilagić - avatar
- 1
35
7th Feb 2017, 7:21 PM
Sandeep Prasad
Sandeep Prasad - avatar
- 1
I would also go for 35
7th Feb 2017, 7:22 PM
Hamza Zejnilagić
Hamza Zejnilagić - avatar