Paked - How can we achieve multiple inheritance in Java?


How can we achieve multiple inheritance in Java?

Using Interface.


public interface Employee {
    void RaiseSalary( double d );
    double GetSalary();
 }

Note that both methods are implicitly public and abstract.

Your Answer




DISCLAIMER

Paked and the contributors are not responsible for any errors contained and are not liable for any damages resulting from the use of this material.  

Disclaimer


Home | Disclaimer | Advertise| Contact| Privacy Policy

 

Copyright © 2004-10 Paked.com. All rights reserved.

Note: Site best viewed at 1024 x 768 or higher screen resolution