freeCodeCamp/curriculum/challenges/chinese/07-scientific-computing-wit.../python-for-everybody/objects-inheritance.md

595 B

id challengeType videoId
5e7b9f170b6c005b0e76f088 11 FBL3alYrxRM

Description

Tests

question:
  text: |
    What is inheritance in object-oriented programming?    

  answers:
    - |
        A new class created when a parent class is extended.        
    - |
        A constructed instance of a class.        
    - |
        The ability to create a new class by extending an existing class.        
    - |
        A method that is called at the moment when a class is being used to construct an object.        
  solution: 3