código abstracto en Java
abstract class Animal {
public abstract void animalSound();
public void sleep() {
System.out.println("Zzz");
}
}
naly moslih
abstract class Animal {
public abstract void animalSound();
public void sleep() {
System.out.println("Zzz");
}
}