- 7
define a class
how to define a new class Falcon, based on the superclass Bird?.
9 odpowiedzi
+ 5
public class Bird{}
public class Falcon extends Bird{}
Bird is the super class, Falcon is the child class.
https://www.sololearn.com/learn/Java/2163/
+ 3
Fill in the blanks to define a new class Falcon, which is derived from the class Bird.
class
Falcon
:
Bird {
}
+ 3
Fill in the blanks to define a new class Falcon, based the super class Bird.
class
extends
+ 2
thnak u
+ 1
Q. Fill in the blanks to define a new class Falcon, based on the superclass Bird:
Answer: class Falcon extends Bird { }
+ 1
class Falcon
extends Bird {
}
+ 1
class Falcon extends Bird {
}
0
class
extends
0
1. class
2. extends