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

What is hotjava?

734


why an outer class cannot be declared as private?

3902


Which package has light weight components?

769


Which one of the following suits the description of a string better: derived or primitive?

725


What are the super most classes for all the streams?

1776


Where to store local variables?

780


What is t in generics in java?

792


Differentiate between class and structure.

806


Where and how can you use a private constructor?

744


What is the method overriding?

815


What do you understand by garbage collection in Java? Can it be forced to run?

751


when you will synchronize a piece of your code? : Java thread

751


What does the “static” keyword mean? Can you override private or static method in java?

814


What is the main advantage of passing argument by reference?

711


How is java created?

727