How to achieve multiple inheretence in java.I need an
example. how we achieve.

Answer Posted / srikanth jakka

The mechanism of inheriting the features of more than one
base class into a single class is known as multiple
inheritance. Java does not support multiple inheritance but
the multiple inheritance can be achieved by using the
interface.In Java Multiple Inheritance can be achieved
through use of Interfaces by implementing more than one
interfaces in a class.

Is This Answer Correct ?    22 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between save and saveorupdate?

513


I am newbie in J2EE & looking for strong basic behind each concept as, Why do we use private access specifier before each variable of type property bcoz ultimately to access it outside the class we use public method as getter & setter ? If we use getter & setter to access it outside the class so better we make variable as public so that it is easily available outside of the class... Please guide me why do we use as private ????

4982


What are the different java technologies?

486


What is callback methods Component methods called by the container to notify the component of important events in its life cycle?

529


What are the components and containers in java?

497






What is document root?

485


How will you explain load() and get() methods?

510


What are the main components of the j2ee application?

477


What is button in java?

483


What is client-certificate authentication?

545


What is create method?

578


What does j2ee stand for?

478


What is java ee used for?

444


What is certificate authority?

562


What is j2ee module?

587