int i = 0;
+ + i;
System.out.println (+ + i + i + +);
System.out.println (i + +);
System.out.println (i);
I think the result is
4,5,6 result is 4,3,4
Why ?
------ Solution ---------------------------------------- ----
+ + i; / / i = 1
System.out.println (+ + i + i + +) ;/ / first + + i = 2 i + i = 4; i + + i = 3 final
System.out.println (i + +); / / i + + first 3 after + + i = 4
System.out.println (i) ;/ / i = 4
------ For reference only -------------------- -------------------
upstairs interpretation is correct !
------ For reference only -------------------------------------- -
this title means nothing ! If the project encountered such a code would be criticized
------ For reference only ------------------------- --------------
------ For reference only ---------------------------------- -----
estimated exams want to use. Actual projects will never be allowed such a code .
------ For reference only -------------------------------------- -
only now boring textbooks , as well as the boring teacher will come up with this kind of code .
------ For reference only ------------------------------------ ---
not examinations , there is no use for this is seen in the other site above , so do not know to ask .
------ For reference only -------------------------------------- -
understand birds.
没有评论:
发表评论