You are viewing a single comment's thread. Return to all comments →
class Bird extends Animal { void fly() { System.out.println("I am flying"); }
void sing() { System.out.println("I am singing"); }
}
Seems like cookies are disabled on this browser, please enable them to open this website
Java Inheritance I
You are viewing a single comment's thread. Return to all comments →
class Bird extends Animal { void fly() { System.out.println("I am flying"); }
}