Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
??

??
public class Main {
public static void main(String args[]) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder = new StringBuilder();
int i=1;
while(true){
int data= Integer.parseInt(reader.readLine());
if(data==0){
break;
}????????????????????????????
builder.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(data));
}
System.out.print(builder);
}
}

Compiler output:
Main.java:4: error: class, interface, enum, or record expected
??
^
Main.java:16: error: illegal start of expression
}????????????????????????????
 ^
Main.java:16: error: illegal start of expression
}????????????????????????????
  ^
Main.java:16: error: illegal start of expression
}????????????????????????????
   ^
Main.java:16: error: illegal start of expression
}????????????????????????????
    ^
Main.java:16: error: illegal start of expression
}????????????????????????????
     ^
Main.java:16: error: illegal start of expression
}????????????????????????????
      ^
Main.java:16: error: illegal start of expression
}????????????????????????????
       ^
Main.java:16: error: illegal start of expression
}????????????????????????????
        ^
Main.java:16: error: illegal start of expression
}????????????????????????????
         ^
Main.java:16: error: illegal start of expression
}????????????????????????????
          ^
Main.java:16: error: illegal start of expression
}????????????????????????????
           ^
Main.java:16: error: illegal start of expression
}????????????????????????????
            ^
Main.java:16: error: illegal start of expression
}????????????????????????????
             ^
Main.java:16: error: illegal start of expression
}????????????????????????????
              ^
Main.java:16: error: illegal start of expression
}????????????????????????????
               ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                 ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                  ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                   ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                    ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                     ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                      ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                       ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                        ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                         ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                          ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                           ^
Main.java:16: error: illegal start of expression
}????????????????????????????
                            ^
Main.java:17: error: : expected
builder.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(data));
                                                                                                 ^
30 errors
printing javac parameters to: /w/javac.20260128_041840.args