//接口
interface player
{
int flag = 1;
void play();//播放
void pause();//暂停
void stop();//停止
}//end :)
//抽象类
abstract class playing
{
public void display(Object oPara)
{
System.out.println(oPara);
}
abstract void winRun();
}//end :)
//继承了playing抽象类和实现类player接口
public class newPlay extends playing implements player
{
public void play()
{
display("newPlay.play()");//这里只是演示,去掉了代码。
}
public void pause()
{
dis...[ 查看全文 ]