Language: Java

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

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
??
^
Main.java:4: error: illegal start of type
????????public static void main(String[] args) {
^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
 ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
  ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
   ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
    ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
     ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
      ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
       ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
        ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
         ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
          ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
           ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
            ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
             ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
              ^
Main.java:5: error: illegal start of expression
????????????????int i, j = 1;
               ^
Main.java:5: error: '.class' expected
????????????????int i, j = 1;
                    ^
Main.java:5: error: : expected
????????????????int i, j = 1;
                     ^
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: 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
????????????????do {
^
Main.java:7: error: illegal start of expression
????????????????do {
 ^
Main.java:7: error: illegal start of expression
????????????????do {
  ^
Main.java:7: error: illegal start of expression
????????????????do {
   ^
Main.java:7: error: illegal start of expression
????????????????do {
    ^
Main.java:7: error: illegal start of expression
????????????????do {
     ^
Main.java:7: error: illegal start of expression
????????????????do {
      ^
Main.java:7: error: illegal start of expression
????????????????do {
       ^
Main.java:7: error: illegal start of expression
????????????????do {
        ^
Main.java:7: error: illegal start of expression
????????????????do {
         ^
Main.java:7: error: illegal start of expression
????????????????do {
          ^
Main.java:7: error: illegal start of expression
????????????????do {
           ^
Main.java:7: error: illegal start of expression
????????????????do {
            ^
Main.java:7: error: illegal start of expression
????????????????do {
             ^
Main.java:7: error: illegal start of expression
????????????????do {
              ^
Main.java:7: error: illegal start of expression
????????????????do {
               ^
Main.java:7: error: illegal start of expression
????????????????do {
                ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
 ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
  ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
   ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
    ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
     ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
      ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
       ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
        ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
         ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
          ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
           ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
            ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
             ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
              ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
               ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
                ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
                 ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
                  ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
                   ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
                    ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
                     ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
                      ^
Main.java:8: error: illegal start of expression
????????????????????????i = sc.nextInt();
                       ^
Main.java:8: error: : expected
????????????????????????i = sc.nextInt();
                                        ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
 ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
  ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
   ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
    ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
     ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
      ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
       ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
        ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
         ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
          ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
           ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
            ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
             ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
              ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
               ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
                ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
                 ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
                  ^
Main.java:9: error: illegal start of expression
????????????????????????if (i != 0) {
                   ^
100 errors
only showing the first 100 errors, of 138 total; use -Xmaxerrs if you would like to see more
printing javac parameters to: /w/javac.20260128_045109.args