Question: om Inheritance relates what general types of classes? sub class e super class Devening class O programming class car class vehicle class Question 2 This

 om Inheritance relates what general types of classes? sub class e
super class Devening class O programming class car class vehicle class Question
2 This rule' says that a sub class object can always be
used in place of a super class object substitution composition O deposition
integration exposition division Suppoposition superposition model objects with different behavior O inherited

om Inheritance relates what general types of classes? sub class e super class Devening class O programming class car class vehicle class Question 2 This rule' says that a sub class object can always be used in place of a super class object substitution composition O deposition integration exposition division Suppoposition superposition model objects with different behavior O inherited classes O super classes O public classes O private classes O principle classes implemented classes D Question 4 A subclass inherits all methods that is does not Question 5 Overriding a method: O provides a new implementation for an inherited method provides a new implementation for a super class method is legal in Java None of these cure.com The instance of operator determines whether or not an object can be converted to the Object class O belongs to a particular type None of these O has a super class has a sub class Question 33 Do not use the instanceOf operator to o avoid polymorphism implement polymorphism convert to a sub class object o derive a super class object Question 34 According to the book, instead of writing code to perform type-tests, you should implement polymorphism O implement an abstract class throw an exception De ce An abstract class cannot be instantiated O can always be instantiated can sometimes be instantiated None of these Question 21 A final class O can never be extended O can always be extended O can sometimes be extended o. None of these Question 22 A final method cannot be overridden Cabe overridden Sometimes be pueridderi None of these A sub class constructor can pass arguments to a super class constructor True False D Question 14 Aln) reference can be used when a super diss reference is expecte O sub class O super class O pizza extended collective Question 15 Polymorphism is having multiple shapes having multiple pizza toppings using a different programming language inside of lava removing an object reference from an expression the current version of Java None of these

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!