how an we achive multiple inhetitance in java using
interface..??

Answer Posted / sudhir

ya,use interface make 2nd class interface and use
implements keyword for inheritance.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between arraylist and vector.

594


explain local datetime api in java8?

560


How do you write a scanner class in java?

568


Which is easier netbeans or eclipse?

612


a thread is runnable, how does that work? : Java thread

513






What is floor in java?

562


When will you define a method as static?

560


What are packages in java?

566


Is there a case when finally will not execute?

569


What is the difference between post and put?

538


What is singleton class in ruby?

564


Explain the access modifiers for a class, method and variables?

662


What is the protected method modifier?

563


How to obtain a performance profile of java program

547


What is prefix of a string?

575