Question: 8. Which of the following Python code creates an empty class? a) class A: return b) class A: pass c) class A: d) It is

8. Which of the following Python code creates an empty class? a) class A: return b) class A: pass c) class A: d) It is not possible to create an empty class 9. What is a setter() method used for? a) To access the attributes of the object b) To set an attribute c) To check if an attribute exists or not d) To delete an attribute
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
