ITI 1121 Study Guide - Midterm Guide: Qadiriyya, Unified Modeling Language, Instance Variable

61 views14 pages

Document Summary

Ecole de science informatique et de g enie electrique. Instructors: nour el-kadri, guy-vincent jourdan, and marcel turcotte. No part of this document may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise without prior written permission from the instructors. For this question, you must implement the classes game, scoredgame, and team, according to the uml diagram above, and the instructions below. You must also make sure that your implementation is consistant with the provided test class run: an object of the class team stores the name of a sport"s team. Make sure to include a getter for this attribute: the class game describes the characteristics that are common to all games. Namely, a game has two teams (objects of the class team). Make sure to include getters for these two attributes: finally, the class scoredgame is a specialization of the class game.