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

Why does it take so much time to access an applet having swing components the first time?

1384


What is a lock or purpose of locks in java?

581


What is scope & storage allocation of global and extern variables? Explain with an example

573


What is singleton pattern?

546


Explain features of interfaces in java?

548






What do you understand by java?

555


What is the difference between Grid and Gridbaglayout?

572


When does an object becomes eligible for garbage collection in java?

573


How do you sort in ascending order in java?

514


What are accessor methods in java?

544


Explain the different forms of polymorphism?

559


What is bytecode in java ?

595


How many bytes is 255 characters?

542


What happens when a thread cannot acquire a lock on an object in java programming?

539


What is the use of flag?

575