Multiple choice technology

If you extend a class, you are

  1. creating a subclass

  2. creating extra instances of the class

  3. allocating more memory to the class

  4. making a class more generic

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

When you extend a class using inheritance, you create a subclass (derived class) that inherits features from the superclass. The subclass is a specialized version of the parent class. Options B, C, and D describe unrelated concepts - extension is about inheritance, not instances or memory allocation.