MIS 304 Lecture Notes - Lecture 18: Graphical User Interface, Command-Line Interface, Tkinter

47 views3 pages

Document Summary

Refers to an object"s ability to take different forms. Allows subclasses to have methods with the same names as methods in their superclasses. The subclass method overrides the superclass method. Gives the ability for a program to call the correct method depending on the type of object that is used to call it. If a subclass object is used to call an overridden method, then the subclass"s version of the method is the one that will execute and vice versa. Determines whether an object is an instance of a specific class or a subclass of that class. Returns true if object is an instance of class_name or an instance of a subclass of class_name. Recursion function: a function that calls itself. Base case: case in which the problem can be solved without recursion. Recursive case: way to solve the problem in all other circumstances using recursion. Depth of recursion: the number of times that a function calls itself.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents