Link to home
Start Free TrialLog in
Avatar of myarun
myarun

asked on

In UML/OOAD is Rectangle class subclass of Polygon or Quadrilateral

Hi
I want to know if Rectangle class is subclass of Quadrilateral or subclass of polygon.
I am sure Quadrilateral is subclass of polygon..but whats the difference between having Rectangle as subclass of polygon and having it as subclass of Quadrilateral.
Which one is the right one /better one. and why.

Thanks
arun
ASKER CERTIFIED SOLUTION
Avatar of tinchos
tinchos

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial