Thursday, October 7, 2010

Homework Assignment Due October 21, 2010

Polymorphism Assignment from our class notes, page VFun/Poly 9

Abstract base class called Figure, with int dem
Constructor, no destructor
Methods: area, objectType

concrete classes derived from the Figure class are:
Square - dem is the side
Circle - dem is the Radious
Eq. Triangle - dem is the side

1 comment:

  1. Hey all, i just got an email from WSU-roch saying all classes at WSU-roch are cancelled tomorrow for university day. Also Sheri can i be a contributor plz so i can post outside of comments. Wondering if anyone had got that email too just a few min ago. Thx

    ReplyDelete