Ch. 11 T/F

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

A subclass can have a method with the same name as a method in the superclass.

True

Polymorphism allows you to write methods in a subclass that have the same name as methods in the superclass.

True

You cannot use the isinstance function to determine whether an object is an instance of a subclass of a class.

False

It is not possible to call a superclass's __ init __ method from a subclass's __ init __ method.

False

Only the __ init __ method can be overridden.

False


Kaugnay na mga set ng pag-aaral

Health Insurance: Chapter 6 (Underwriting) - Test Cram Session

View Set

Module Four- Postmodern and cultural criminology

View Set

MQM 220 Final Exam Study Guide (ISU Fall 2017 Ruszkowski)

View Set

Study Guide | Unit D Energy Test ANSWER KEY FOR GRADE 6

View Set