class Fu
{
int num = 4;
}
class Zi extends Fu
{
int num = 5;
void show()
{
System.out.print(this.num+"..."+super.num);
}
}
class ExtendsDemo2
{
public static void main(...)
{
Zi z = new Zi();
z.show();
}
}
代码class Fu{ int num = 4;}class Zi extends Fu{ int num = 5; void show() { System.out.print(this.num+"..."+super.num); }}class ExtendsDemo2{ public static void main(...) { Zi z = new ...