abstract class AirPlane { abstract void fly(); void land() { // line 5 System.out.print("Landing.."); } } class AirJet extends AirPlane { AirJet() { super(); // line 14 } void fly() { System.out.print("Flying.."); } }
abstract void fly();
void land() { // line 5
System.out.print("Landing..");
}
class AirJet extends AirPlane {
AirJet() {
super(); // line 14
void fly() {
System.out.print("Flying..");
Oracle Certified Professional Java Programmer
Access: Public Instant Grading
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use.