Logo 
Search:

OOAD FAQ

Submit Interview FAQ
Home » Interview FAQ » OOADRSS Feeds

Suppose a class acts an Actor in the problem domain, how to represent it in the static model?

  Shared By: Adah Miller    Date: Jan 25    Category: OOAD    Views: 104

Answer:

In this scenario you can use “stereotype”. Since stereotype is just a string that gives extra semantic to the particular entity/model element. It is given with in the << >>.

class A
<< Actor>>
attributes

methods.

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: