/in/foo.c:1:1: error: unknown type name 'import'
import java.io.IOException;
^~~~~~
/in/foo.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
import java.io.IOException;
^
/in/foo.c:2:1: error: unknown type name 'import'
import java.util.Scanner;
^~~~~~
/in/foo.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
import java.util.Scanner;
^
/in/foo.c:3:1: error: unknown type name 'public'
public class Main {
^~~~~~
/in/foo.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
public class Main {
^~~~
/in/foo.c:14:1: error: unknown type name 'class'
class Time{
^~~~~
/in/foo.c:14:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
class Time{
^