0_0_35127595_5656.cpp:1:1: error: 'import' does not name a type
import java.util.*;
^
0_0_35127595_5656.cpp:4:21: error: ISO C++ forbids in-class initialization of non-const static member 'people::number'
static int number=0;
^
0_0_35127595_5656.cpp:5:10: error: expected ':' before 'people'
public people()
^
0_0_35127595_5656.cpp:9:3: error: 'String' does not name a type
String name;
^
0_0_35127595_5656.cpp:11:3: error: 'boolean' does not name a type
boolean zai=true;
^
0_0_35127595_5656.cpp:12:10: error: expected ':' before 'String'
public String pname()
^
0_0_35127595_5656.cpp:12:10: error: 'String' does not name a type
0_0_35127595_5656.cpp:16:10: error: expected ':' before 'int'
public int pli()
^
0_0_35127595_5656.cpp:20:10: error: expected ':' before 'boolean'
public boolean pzai()
^
0_0_35127595_5656.cpp:20:10: error: 'boolean' does not name a type
0_0_35127595_5656.cpp:24:10: error: expected ':' before 'boolean'
public boolean setzai(boolean b)
^
0_0_35127595_5656.cpp:24:10: error: 'boolean' does not name a type
0_0_35127595_5656.cpp:28:2: error: expected ';' after class definition
}
^
0_0_35127595_5656.cpp:29:23: error: expected initializer before 'Comparator'
class cmp1 implements Comparator<people>
^
|