/in/foo.c:1:1: error: unknown type name 'import'; did you mean 'short'?
import java.util.Scanner;
^~~~~~
short
/in/foo.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
import java.util.Scanner;
^
/in/foo.c:2:1: error: unknown type name 'import'; did you mean 'short'?
import java.util.Stack;
^~~~~~
short
/in/foo.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
import java.util.Stack;
^
/in/foo.c:3:1: error: unknown type name 'import'; did you mean 'short'?
import java.util.regex.Matcher;
^~~~~~
short
/in/foo.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
import java.util.regex.Matcher;
^
/in/foo.c:4:1: error: unknown type name 'import'; did you mean 'short'?
import java.util.regex.Pattern;
^~~~~~
short
/in/foo.c:4:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
import java.util.regex.Pattern;
^
/in/foo.c:6:1: error: unknown type name 'public'
public class test4 {
^~~~~~
/in/foo.c:6:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'test4'
public class test4 {
^~~~~