Python Inheritance MCQs

Question 6: In order to make an instance variable private should be

Question 7: Which of the following statements is correct considering the following code?

class book:
    def __init__(self):
        self.__name="Python Programming"
        self.__price=200

b1=book()

Question 8: Which of the following is the correct syntax of inheritance?