Application should include Java member variables that can access a hidden member variable through the superclass. Sample code of a superclass and subclass pair follows:

class SuperDouper {
    Number aNumber;
}
class SubbieDubbie extends SuperDouper {
    Float aNumber;
}