/in/foo.c:1:1: error: unknown type name 'package'
package project02;
^~~~~~~
/in/foo.c:3:1: error: unknown type name 'import'; did you mean 'short'?
import java.util.Scanner;
^~~~~~
short
/in/foo.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
import java.util.Scanner;
^
/in/foo.c:5:1: error: unknown type name 'class'
class Node{
^~~~~
/in/foo.c:5:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
class Node{
^
/in/foo.c:17:1: error: unknown type name 'public'
public class Test2 {
^~~~~~
/in/foo.c:17:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Test2'
public class Test2 {
^~~~~