java define sub class 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;
}