which keyword is used to create a subclass?
You declare that a class is the subclass of another class within The Class Declaration. For example, suppose that you wanted to create a subclass named SubClass of another class named SuperClass. You would write: class SubClass extends SuperClass { . . . } This declares that SubClass is the subclass of the Superclass class.