in python! heres the word bank! please make sure these are correctly matched wit
ID: 3577936 • Letter: I
Question
in python!
heres the word bank! please make sure these are correctly matched with their definitions
A) Class B) Object C) Instance variable D) Method E) self F) __init_
a method parameter that referst o the instance this method is for
a constructor method that initializes a class instance
a single instance based on a template
a function that describes the behavior of an object
an attribute that exists in every object to descibe its status
a template to define a common attribute and behaviors shared by a group
Explanation / Answer
Class - a template to define a common attribute and behaviour shared by a group.
Object - a single instance based on a template
Instance Variable - an attribute that exists in every object to describe its status.
Method - a function that describes behavior of an object
Self - a method parameter that refers to instance this method is for.
__init__ - a constructor method that initializes a class instance.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.