Multiple choice technology web technology

Sub class is:

  1. Super class is Sub class

  2. Super class, which inherit the properties of another class

  3. Small class nested in Super class

  4. Separate class but inherit properties of Super class

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

A subclass is a separate class that inherits properties and behaviors from a superclass through inheritance. The subclass extends the superclass, gaining its features while adding its own specialized behavior. It is not nested within, nor does the superclass inherit from the subclass.