class Main {
public static void main(String[] args) {
hero he=new hero();
he.func();
//JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。
System.out.println();
}
}
class Hero{
int name;
float hp;
}
class hero extends Hero implements play{
public void func() {
System.out.println("打游戏");
}
}
interface play{
void func();
}