Question: In a car ( ) class's _ _ init _ _ method, if your data attribute is defined as following: self. _ _ brand =
In a car class's initmethod, if your data attribute is defined as following:
self.brand brand
if
Scar
Which statement is correct?
Group of answer choices
You can use SbrandGMC to set Ss brand name.
None is correct
You can use brand GMC to set Ss brand name
You need to use a class method the set Ss brand name
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
