A quick test on Polymorphism for CIS 212
The super class of the object
The concrete class used to create the object
The abstract class of an object
The inheritance hierarchy of the object
Rate this question:
The type of the expression that uses the object
The result of the toString() method
The subtype of the object
The class used to instantiate the object
Rate this question:
A subtype of the actual type
The same for each instance
A supertype of the actual type
None of the above
Rate this question:
Apparent type
Actual type
None of the above
Rate this question:
Apparent type
Actual type
None of the above
Rate this question:
We can swap an instance of some type with some other instance of the same type
Subtype can be used wherever a supertype is expected without affecting correctness of client code
Supertype can be used wherever a subtype is expected without affecting correctness of client code
We can override a method easily
None of the above
Rate this question:
Implement all methods of the supertype
Satisfy the postconditions and preconditions found in the spec
Inherit by specification
None of the above
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.