fork(4) download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. class Ideone
  8. {
  9. static class System
  10. {
  11. static class out
  12. {
  13. static void println(String ignored)
  14. {
  15. java.lang.System.out.println("Ok");
  16. }
  17. }
  18. }
  19.  
  20. public static void main (String[] args) throws java.lang.Exception
  21. {
  22. int x = 0;
  23. if (x == x)
  24. {
  25. System.out.println("Not ok");
  26. }
  27. else
  28. {
  29. System.out.println("Ok");
  30. }
  31. }
  32. }
Success #stdin #stdout 0.07s 380160KB
stdin
Standard input is empty
stdout
Ok