Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Java does not support multiple inheritance. but, by using interface we can achieve it.. any other way for multiple inheritance?

user-image
Question added by Deleted user
Date Posted: 2013/11/23
Bassem Zohdy
by Bassem Zohdy , Senior Software Architect , HelpAG

you can use proxy pattern to add functions you want to add to any instance, spicialy if it is dynamic

Ajith Fernandez
by Ajith Fernandez , Software Engineer , Nayasoft Solutions Pvt.ltd

If you want to combine the functionality of two classes into one, we can use object composition.

More Questions Like This