subclass of a class in java 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;
}