fork(2) download
  1. import java.io.*;
  2.  
  3. class Ideone
  4. {
  5. public static void main (String[] args) throws java.lang.Exception
  6. {
  7. int x = 5;
  8. if (new Boolean(x > 0).toString().length() == Math.round(Math.pow(Math.sin(Math.PI/6), -2))) {
  9. System.out.println("x > 0");
  10. }
  11. }
  12. }
Success #stdin #stdout 0.06s 32388KB
stdin
Standard input is empty
stdout
x > 0