define a class | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 7

define a class

how to define a new class Falcon, based on the superclass Bird?.

20th Nov 2019, 10:01 PM
anas mhaoune
anas mhaoune - avatar
9 Answers
+ 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/
20th Nov 2019, 10:08 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Fill in the blanks to define a new class Falcon, which is derived from the class Bird. class Falcon : Bird { }
16th Nov 2020, 4:43 PM
Md Hasan Sikder
Md Hasan Sikder - avatar
+ 3
Fill in the blanks to define a new class Falcon, based the super class Bird. class extends
2nd Dec 2020, 12:00 PM
Sivaranjani S
Sivaranjani S - avatar
+ 2
thnak u
20th Nov 2019, 10:11 PM
anas mhaoune
anas mhaoune - avatar
+ 1
Q. Fill in the blanks to define a new class Falcon, based on the superclass Bird: Answer: class Falcon extends Bird { }
23rd Mar 2021, 4:59 PM
Tejashree Suryawanshi
Tejashree Suryawanshi - avatar
+ 1
class Falcon extends Bird { }
6th Apr 2021, 4:43 PM
Shailo Joy . A . J
Shailo Joy . A . J - avatar
+ 1
class Falcon extends Bird { }
7th Apr 2021, 7:16 AM
Rogelio B. Catubig Jr.
Rogelio B. Catubig Jr. - avatar
0
class extends
1st Jan 2022, 8:35 AM
M.I.M.Aqueel
M.I.M.Aqueel - avatar
0
1. class 2. extends
14th May 2022, 1:55 PM
Patel Ayushkumar Harshadbhai
Patel Ayushkumar Harshadbhai - avatar