public void call_h2()
 {
     C3 c3 = new C3(); // create new references to a C3 object (which inherits from B2) and has public methods that return the protected functions
     c3.call_h2();
 }
Exemplo n.º 2
0
    public void call_h2()
    {
        C3 c3 = new C3();                        // create new references to a C3 object (which inherits from B2) and has public methods that return the protected functions

        c3.call_h2();
    }                          // call the "hidden functions"