0_0_36097565_30388.cpp:1:1: error: 'import' does not name a type
import java.util.*;
^
0_0_36097565_30388.cpp:4:5: error: 'String' does not name a type
String name;
^
0_0_36097565_30388.cpp:6:12: error: expected ':' before 'person'
public person(){}
^
0_0_36097565_30388.cpp:7:12: error: expected ':' before 'person'
public person(String name,int score)
^
0_0_36097565_30388.cpp:7:26: error: expected ')' before 'name'
public person(String name,int score)
^
0_0_36097565_30388.cpp:12:1: error: expected ';' after class definition
}
^
0_0_36097565_30388.cpp:14:1: error: expected unqualified-id before 'public'
public class Main {
^
|