This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes can child class have more parents in UML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "can child class have more parents in UML" Watch "can child class have more parents in UML" New topic
Author

can child class have more parents in UML

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1161
is it true that generlization in UML can have more than one parent ?
But in java it doesn't dupport multiple inheritance?

i read this from below link

Please read 4 th paragraph
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
It's true. UML specification doesn't prohibit one classifier to have more than one Generalization to another classifier.

UML is not only for programming languages, it is a unified modeling language that can be used to model anything.
In addition some programming languages like C++ support multiple inheritance.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Anirvan Majumdar
Ranch Hand

Joined: Feb 22, 2005
Posts: 261
UML as a language isn't specific to any particular programming language. It is up to the UML user to design according to a particular programming language's limitation or strength.
For example a multi-inheritance pattern may not be allowed in Java, but it is perfectly valid in C++
Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
Hi,

Read this article which discussing bit on this topic, even-though bit old.

Thanks & Regards,

Mourougan
Open Source leads to Open Mind
 
GeeCON Prague 2014
 
subject: can child class have more parents in UML