Rumah > Soal Jawab > teks badan
kelas Fu{
//public int x=10;
final public int j=20;
public void show(){
System.out.println("Fu show()");
}
}
kelas Zi melanjutkan Fu {
pertunjukan kekosongan awam(){
//int x=100;
int j=200.
int j=200; ()");
//System.out.println(x);
System.out.println(j);
}
}
class FinalDemo1 {
public static String[] args){
Zi z= new Zi();
z.show();
}
}