class Fuu{
int num = 3;
public void show(){
System.out.println("fu show");
}
}
class Zii extends Fuu{
int num = 4;
public void show(){
System.out.println("zi show");
}
}
public class DuoTai {
public static void main(String[] args) {
Fuu f = new Zii();
f.show();
System.out.println(f.num);
}
}
class Fuu{
int num = 3;
public static void show(){
System.out.println("fu show");
}
}
class Zii extends Fuu{
int num = 4;
public static void show(){
System.out.println("zi show");
}
}
public class DuoTai {
public static void main(String[] args) {
Fuu f = new Zii();
f.show();
System.out.println(f.num);