how is a subclass able to access superclass 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;
}