How to draw this in UML?

MrNorth

Newcomer
Joined
Jan 23, 2003
Messages
11
I want to show a really simple example

1)

class Request
'some stuff in Request class

class Param
'Stuff in Param
end class
end class


How do I draw this as UML class diagram in visio, the relationship between the class and it's subclass???


2)
class Request
'some stuff in Request class

class Param
'Stuff in Param
end class
end class

class DBManager
dim myRequest as new Request
end class


Is there a way in UML class diagrams to show that the DBManager class is creating an instance of the Request class, or should I use another diagram to show that???


Im pretty experienced in OO, but a beginner in Visio and UML...
Im forcing myself to use UML on all my projects, and sometimes there stupid questions arise... aspecially with abstract classes where it is difficult to realize how things work together (easier with classes like Driver, Car, Engine, Wheel etc)

ANyway, if someone can provide an explanation, be my guest!!!
I really want to learn how to make good UML diagrams...
 
Back
Top