creating a subclass within a class 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;
}