Question 1: The mechanism of designing a new class based on one or more existing classes is called:
Question 2: What is overriding?
Question 3: What kind of relationship exists between inherited class and base class?
Question 4: What is not true about overriding in Python?
Question 5: Instance variables and methods in the Python class are:
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?