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)); } }
2 Respostas
+ 1
Thanks