In OOP, what is the term for the class from which the derived class inherits?
- Base Class
- Parent Class
- Primary Class
- Superclass
The class from which a derived class inherits is known as the 'Base Class' or 'Parent Class.' In Python, it's also referred to as the superclass.
Loading...
Related Quiz
- You need to normalize a NumPy array so that the values range between 0 and 1. How would you achieve this?
- How would you find the loop in a linked list?
- Which of the following concepts allows a single interface to represent different methods in derived classes?
- In deep learning models built using TensorFlow or PyTorch, the ____ method is used to update the model parameters based on the computed gradients.
- How can you access the last element of a list named my_list?