Page 1 of 1

please solve fast 🙏🏼

Posted: Tue Jul 05, 2022 10:27 am
by answerhappygod
please solve fast 🙏🏼
Please Solve Fast 1
Please Solve Fast 1 (184.44 KiB) Viewed 16 times
QUESTION 6 You are given a super class called Animal and a sub-class (derived class) called Reptilian. The sub-class (derived class) has a method called insert(), but the super class does not have insert() method. Which of the following is the correct use of insert method? Ⓒa. Reptalian a = new Reptalian(); ...; a.insert(); b. Animal a = new Animal(); ... ......; a.insert(); Oc Animal a = new Reptalian(); › ....; insert(); Od Reptalian a= new Animal(); ....; a.insert();