fork download
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5.  
  6. Class Student{
  7.  
  8. }public static void main(String[]args]) throw java
  9. {
  10. int n=1234;
  11. int c=0;
  12. while(n<0){
  13. c++;
  14. n/=10;
  15.  
  16. }
  17.  
  18. }
  19.  
  20.  
Success #stdin #stdout #stderr 0.01s 5272KB
stdin
stdout
Standard output is empty
stderr
Error: near line 1: near "import": syntax error
Error: near line 2: near "import": syntax error
Error: near line 3: near "import": syntax error
Error: near line 6: near "Class": syntax error
Error: near line 11: near "int": syntax error
Error: near line 12: near "while": syntax error
Error: near line 14: near "n": syntax error
Error: near line 16: unrecognized token: "}"