Multiple choice technology programming languages

A derived class

  1. Inherits data members and member functions from base class

  2. Inherits constructors and destructor

  3. Object can access protected members with the dot operator

  4. Inherits data members and member functions from base class as well as Inherits constructors and destructor

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A derived class inherits all data members and member functions from its base class, except constructors and destructor. This is the fundamental mechanism of inheritance in object-oriented programming. The inheritance creates an 'is-a' relationship where the derived class extends the base class functionality.