Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

user-image
Question ajoutée par Utilisateur supprimé
Date de publication: 2013/11/23
Bassem Zohdy
par 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
par 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?