Question: What is the most serious concern about the Python code below? Question 2 3 Select one: The code will crash because it has a bug
What is the most serious concern about the Python code below?
Question Select one:
The code will crash because it has a bug on line
cross out
The code will crash because Car's init method cannot use colour as a parameter AND an attribute.
cross out
The Car class is missing setter and getter methods
cross out
The code violates the principle of encapsulation on line
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
