Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

As it pertains to polymorphism select by matching, the word which best describes

ID: 3903392 • Letter: A

Question

As it pertains to polymorphism select by matching, the word which best describes each phrase.

[1]_____ polymorphism occurs when a subclass redefines the body of the method implementation of the super class.

[2]_____ polymorphism occurs when an object type is cast or coerced into being another object type.

[3]_____ polymorphism occurs when a class implements methods that are the same in signature except for the data types of the parameters that are passed to the methods.

[4]_____ polymorphism occurs if a sublcass class inherits its methods from its super class, whether direct or indirect super class, and does not carry out any modification to any of the methods it inherits.

(For each blank answer, please write the number of the blank followed by a dash, and the word that fills in the blank, followed by a comma and then the next answer)

Explanation / Answer

Inheritance polymorphism occurs when a subclass redefines the body of the method implementation of the super class.

Subtype polymorphism occurs when an object type is cast or coerced into being another object type

Overriding and Overloading polymorphism occurs when a class implements methods that are the same in signature except for the data types of the parameters that are passed to the methods

Inheritance polymorphism occurs if a sublcass class inherits its methods from its super class, whether direct or indirect super class, and does not carry out any modification to any of the methods it inherits.