A program where output seems simple but it's not because of java compiler optimization of the byte code.
From Java Specs:
If a primitive type or a string is defined as a constant and the value is known at compile time, the compiler replaces the constant name everywhere in the code with its value. This is called a compile-time constant. If the value of the constant in the outside world changes (for example, if it is legislated that pi actually should be 3.975), you will need to recompile any classes that use this constant to get the current value.
Sur cette page du site, vous pouvez voir la vidéo en ligne Java Tricky Program 1 - Java Compiler Optimization durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Diyansh IT Services 05 janvier 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 37,600 fois et il a aimé 316 téléspectateurs. Bon visionnage!