which keyword is used when a subclass inherit a superclass code example
Example: how to create a subclass in java
class Super {
Number aNumber;
}
class Sub extends Super {
Float aNumber;
}
class Super {
Number aNumber;
}
class Sub extends Super {
Float aNumber;
}