Language: Java

import java.util.Scanner;
??
class Main
{
????public static void main(String[] args) {
????????Scanner sc = new Scanner(System.in);
????????int x;
????????for(int i = 1 ; (x = sc.nextInt()) != 0 ; i++)
????????{
????????????System.out.println("Case "+ i +": "+ x);
????????}
????}
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
??
^
Main.java:5: error: illegal start of type
????public static void main(String[] args) {
^
Main.java:6: error: illegal start of expression
????????Scanner sc = new Scanner(System.in);
^
Main.java:6: error: illegal start of expression
????????Scanner sc = new Scanner(System.in);
 ^
Main.java:6: error: illegal start of expression
????????Scanner sc = new Scanner(System.in);
  ^
Main.java:6: error: illegal start of expression
????????Scanner sc = new Scanner(System.in);
   ^
Main.java:6: error: illegal start of expression
????????Scanner sc = new Scanner(System.in);
    ^
Main.java:6: error: illegal start of expression
????????Scanner sc = new Scanner(System.in);
     ^
Main.java:6: error: illegal start of expression
????????Scanner sc = new Scanner(System.in);
      ^
Main.java:6: error: illegal start of expression
????????Scanner sc = new Scanner(System.in);
       ^
Main.java:6: error: : expected
????????Scanner sc = new Scanner(System.in);
               ^
Main.java:6: error: : expected
????????Scanner sc = new Scanner(System.in);
                                           ^
Main.java:7: error: illegal start of expression
????????int x;
^
Main.java:7: error: illegal start of expression
????????int x;
 ^
Main.java:7: error: illegal start of expression
????????int x;
  ^
Main.java:7: error: illegal start of expression
????????int x;
   ^
Main.java:7: error: illegal start of expression
????????int x;
    ^
Main.java:7: error: illegal start of expression
????????int x;
     ^
Main.java:7: error: illegal start of expression
????????int x;
      ^
Main.java:7: error: illegal start of expression
????????int x;
       ^
Main.java:7: error: '.class' expected
????????int x;
            ^
Main.java:7: error: : expected
????????int x;
             ^
Main.java:8: error: illegal start of expression
????????for(int i = 1 ; (x = sc.nextInt()) != 0 ; i++)
^
Main.java:8: error: illegal start of expression
????????for(int i = 1 ; (x = sc.nextInt()) != 0 ; i++)
 ^
Main.java:8: error: illegal start of expression
????????for(int i = 1 ; (x = sc.nextInt()) != 0 ; i++)
  ^
Main.java:8: error: illegal start of expression
????????for(int i = 1 ; (x = sc.nextInt()) != 0 ; i++)
   ^
Main.java:8: error: illegal start of expression
????????for(int i = 1 ; (x = sc.nextInt()) != 0 ; i++)
    ^
Main.java:8: error: illegal start of expression
????????for(int i = 1 ; (x = sc.nextInt()) != 0 ; i++)
     ^
Main.java:8: error: illegal start of expression
????????for(int i = 1 ; (x = sc.nextInt()) != 0 ; i++)
      ^
Main.java:8: error: illegal start of expression
????????for(int i = 1 ; (x = sc.nextInt()) != 0 ; i++)
       ^
Main.java:8: error: illegal start of expression
????????for(int i = 1 ; (x = sc.nextInt()) != 0 ; i++)
        ^
Main.java:9: error: illegal start of expression
????????{
^
Main.java:9: error: illegal start of expression
????????{
 ^
Main.java:9: error: illegal start of expression
????????{
  ^
Main.java:9: error: illegal start of expression
????????{
   ^
Main.java:9: error: illegal start of expression
????????{
    ^
Main.java:9: error: illegal start of expression
????????{
     ^
Main.java:9: error: illegal start of expression
????????{
      ^
Main.java:9: error: illegal start of expression
????????{
       ^
Main.java:9: error: illegal start of expression
????????{
        ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
 ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
  ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
   ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
    ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
     ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
      ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
       ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
        ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
         ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
          ^
Main.java:10: error: illegal start of expression
????????????System.out.println("Case "+ i +": "+ x);
           ^
Main.java:10: error: : expected
????????????System.out.println("Case "+ i +": "+ x);
                                                   ^
Main.java:11: error: illegal start of expression
????????}
^
Main.java:11: error: illegal start of expression
????????}
 ^
Main.java:11: error: illegal start of expression
????????}
  ^
Main.java:11: error: illegal start of expression
????????}
   ^
Main.java:11: error: illegal start of expression
????????}
    ^
Main.java:11: error: illegal start of expression
????????}
     ^
Main.java:11: error: illegal start of expression
????????}
      ^
Main.java:11: error: illegal start of expression
????????}
       ^
Main.java:11: error: illegal start of expression
????????}
        ^
Main.java:12: error: illegal start of expression
????}
^
Main.java:12: error: illegal start of expression
????}
 ^
Main.java:12: error: illegal start of expression
????}
  ^
Main.java:12: error: illegal start of expression
????}
   ^
Main.java:12: error: illegal start of expression
????}
    ^
67 errors