Can anybody help me out why output of below code snippet is X88?
<p>Can anybody explain to me the code snippet below?</p>

<pre><code> class G{
      public static void main(String [] args)
        {
               char x='X';
               int i=0; 
              System.out.print(true ? x : 0);
              System.out.print(false ? i: x);

     }
    }
</code></pre>
