fork(2) download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6. import java.awt.*;
  7. import java.awt.event.*;
  8.  
  9. /* Name of the class has to be "Main" only if the class is public. */
  10. class Ideone
  11. {
  12. public static void main (String[] args) throws java.lang.Exception
  13. {
  14. int chec = 0;
  15. for(chec = 0; chec < 1000; chec++){
  16. String check = String.valueOf(chec);
  17.  
  18. int i[] = new int[check.length()];
  19. int b = check.length();
  20.  
  21. if(){
  22. System.out.println(chec);
  23. }
  24.  
  25. }
  26.  
  27.  
  28. }
  29. }
Compilation error #stdin compilation error #stdout 0.06s 27856KB
stdin
Standard input is empty
compilation info
Main.java:21: error: illegal start of expression
			if(){
			   ^
1 error
stdout
Standard output is empty