Inheritance allows a new class to use code from an existing class, avoiding repetition.
Step 2: Compare options
Only To reuse code from an existing class correctly states code reuse. Others are incorrect because inheritance does not create unrelated classes, speed up programs directly, or avoid methods.
Final Answer:
To reuse code from an existing class -> Option C
Quick Check:
Inheritance = Code reuse [OK]
Quick Trick:Inheritance means reusing code from another class [OK]
Common Mistakes:
Thinking inheritance speeds up the program
Believing inheritance creates unrelated classes
Confusing inheritance with method removal
Master "Inheritance" in Java
9 interactive learning modes - each teaches the same concept differently