Language: Java

import java.util.Scanner;
??
public class Main { public static void main(String[] args) {
????Scanner sc = new Scanner(System.in);
????int s = sc.nextInt();
????int m = s/60;
????int h = m/60;
????s = s-(60*m);
????m = m-(60*h);
????System.out.println(h + ":" + m + ":" + s);
????}
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
??
^
Main.java:4: error: illegal start of expression
????Scanner sc = new Scanner(System.in);
^
Main.java:4: error: illegal start of expression
????Scanner sc = new Scanner(System.in);
 ^
Main.java:4: error: illegal start of expression
????Scanner sc = new Scanner(System.in);
  ^
Main.java:4: error: illegal start of expression
????Scanner sc = new Scanner(System.in);
   ^
Main.java:4: error: : expected
????Scanner sc = new Scanner(System.in);
           ^
Main.java:4: error: : expected
????Scanner sc = new Scanner(System.in);
                                       ^
Main.java:5: error: illegal start of expression
????int s = sc.nextInt();
^
Main.java:5: error: illegal start of expression
????int s = sc.nextInt();
 ^
Main.java:5: error: illegal start of expression
????int s = sc.nextInt();
  ^
Main.java:5: error: illegal start of expression
????int s = sc.nextInt();
   ^
Main.java:5: error: '.class' expected
????int s = sc.nextInt();
        ^
Main.java:5: error: : expected
????int s = sc.nextInt();
                        ^
Main.java:6: error: illegal start of expression
????int m = s/60;
^
Main.java:6: error: illegal start of expression
????int m = s/60;
 ^
Main.java:6: error: illegal start of expression
????int m = s/60;
  ^
Main.java:6: error: illegal start of expression
????int m = s/60;
   ^
Main.java:6: error: '.class' expected
????int m = s/60;
        ^
Main.java:6: error: : expected
????int m = s/60;
                ^
Main.java:7: error: illegal start of expression
????int h = m/60;
^
Main.java:7: error: illegal start of expression
????int h = m/60;
 ^
Main.java:7: error: illegal start of expression
????int h = m/60;
  ^
Main.java:7: error: illegal start of expression
????int h = m/60;
   ^
Main.java:7: error: '.class' expected
????int h = m/60;
        ^
Main.java:7: error: : expected
????int h = m/60;
                ^
Main.java:8: error: illegal start of expression
????s = s-(60*m);
^
Main.java:8: error: illegal start of expression
????s = s-(60*m);
 ^
Main.java:8: error: illegal start of expression
????s = s-(60*m);
  ^
Main.java:8: error: illegal start of expression
????s = s-(60*m);
   ^
Main.java:8: error: : expected
????s = s-(60*m);
                ^
Main.java:9: error: illegal start of expression
????m = m-(60*h);
^
Main.java:9: error: illegal start of expression
????m = m-(60*h);
 ^
Main.java:9: error: illegal start of expression
????m = m-(60*h);
  ^
Main.java:9: error: illegal start of expression
????m = m-(60*h);
   ^
Main.java:9: error: : expected
????m = m-(60*h);
                ^
Main.java:10: error: illegal start of expression
????System.out.println(h + ":" + m + ":" + s);
^
Main.java:10: error: illegal start of expression
????System.out.println(h + ":" + m + ":" + s);
 ^
Main.java:10: error: illegal start of expression
????System.out.println(h + ":" + m + ":" + s);
  ^
Main.java:10: error: illegal start of expression
????System.out.println(h + ":" + m + ":" + s);
   ^
Main.java:10: error: : expected
????System.out.println(h + ":" + m + ":" + s);
                                             ^
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
????}
    ^
45 errors