The program you provided defines one class, Toolkit
. Therefore, the correct response is:
one
Consider this program:
class Toolkit():
def __init__(self, type):
self.hasHammer = False;
self.hasWrench = False;
self.hasPliers = False;
self.type = type;
abbiToolKit = Toolkit("metal")
print(abbiToolKit.hasHammer)
How many classes does it have?
(1 point)
Responses
none
none
one
one
two
two
three
three
Skip to navigation
1 answer
The program you provided defines one class, Toolkit
. Therefore, the correct response is:
one