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

How to create an immutable class?

564


What is protected access modifier?

565


What is the new line character?

552


List implementations of list interface?

555


What is stream api in java8?

531






How to convert string to byte array and vice versa?

578


what is abstract class in Java?

646


Difference between string, stringbuffer and stringbuilder?

562


What is field name?

578


What is your platform?s default character encoding and how to know this?

1747


What is main function purpose?

517


What do you mean by flow of struts?

741


What is null mean in java?

615


What do you mean by a JVM?

557


Why do we need wrapper class?

533