public class C
{
public static void main(String[] args) throws Exception
{
Person p=new Manito(宙斯);
p.eat(new Watermelon());
System.out.println(可见大神也是人!);
}
}
abstract class Person
{
Person(String name)
{
this.name=name;
}
protected String getName()
{
return this.name;
}
public abstract void eat(Plant p);
private String name;
}
class Manito extends Person
{
Manito(String name)
{
super(name);
}
public void eat(Plant p)
{
System.out.println(大神+this.getName()+刚刚吃了:+p.getType()+。);
}
}
class Plant
{
Plant(String type)
{
this.type=type;
}
String getType()
{
return this.type;
}
private String type;
}
class Watermelon extends Plant
{
Watermelon()
{
super(西瓜);
}
}
Real Song Ah Ri ()的个人资料,谁知道吗?
Name: Song Ah Ri
Birthday: 9 march 1987
Nationality: Korean
Info:
- She is a model and are the mani model for Hosishop.
- She likes to do her hair different for each day and love assecorize.
- She has three tatoo, one on her back (between her shoulder) and one oneach wrist.
- The tatto on the back says“I am the master of my fate, I am the captain of my soul.”
韩国电视剧请回答1988中manito什么意思
manito
韩语:
是“秘密朋友”的意大利语
是一种游戏,通过抽签来成为指定朋友的守护天使
具体玩法不太清楚