0

Can someone tell me the logic

Why is the output 11 class Me { static int method1(int i) { return method2(i*=11); } static int method2(int i){ return method3(i/=11); } static int method3(int i){ return method4(i-=11); } static int method4(int i){ return(i+=11); } public static void main(String args[]){ System.out.println(method1(11)); } }

1st Sep 2019, 8:16 AM
Dprincebh
Dprincebh - avatar
2 Answers
+ 1
Thanks
3rd Sep 2019, 9:12 AM
Dprincebh
Dprincebh - avatar