File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how polymorphism is shown in uml

 
mudassir shahab
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can we show polymorphism in uml diagram
can we show polymorphism in class diagram..if yes, how??
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "show polymorphism"?
In Java, all instance methods are polymorphic.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can infer polymorphism in places. When you see B inherit from A or implement interface A, you get a strong clue hint polymorphic behavior is desired. When you see a parameter declared as A and then look in the class hierarchy and see a number of classes inherit from A or implement A, same thing.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic