Polymorphism: Difference between revisions
Changed formatting, removed "TODO" entries. *every* language is "TODO"
(Changed formatting, removed "TODO" entries. *every* language is "TODO") |
|||
Line 1:
{{task}}
Create two classes Point(x,y) and Circle(x,y,r) with a polymorphic function print, accessors for (x,y,r), copy constructor, assignment and destructor and every possible default constructors
==[[Ada]]==
[[Category:Ada]]
Line 757 ⟶ 751:
}
}
==[[Java]]==
Line 805 ⟶ 789:
}
}
|