Professional Documents
Culture Documents
(Sept2019) Example Polymorphism
(Sept2019) Example Polymorphism
The Department of Computer Science, Thistle University has organized an ICT Festival recently.
The festival accepts contributions of ideas or ICT products from exhibitors and contestants. The
exhibitors may come from government or private sector. Meanwhile, contestants have two
categories of ages which are junior or senior.
//normal constructor
//setter methods
//getter methods
//normal constructor
//setter methods
//getter methods
//toString method
}
//normal constructor
//setter methods
//getter methods
//toString method
}