Answer:
extends
Explanation:
When you create a subclass, you basically say "I'm creating a new class, but for now it will look and behave the same as that other class", then you add its own personality.
The syntax is:
class SubClass extends SuperClass
Where SubClass is your new subclass what inherits methods and variables from the SuperClass.
So, if you add nothing to the SubClass, it will be a carbon copy of the SuperClass. But you can add methods and variables exclusive to this SubClass that the SuperClass won't have.
I don’t no it brother n I was searching for this answer can u plz tell me
This is an essay question, not fit for Brainly - please remove. There is a plagiarism checker by both Grammarly and Quetext, use those to help find your answer.
<span>The machine should not be oiled until the recommended time between oilings is up.</span>
Answer:
God is always your friend mate
Explanation: