Difference between revisions of "Section C 2020"
(→Events) |
(→Classes) |
||
Line 15: | Line 15: | ||
[[2020 - Simulation]] | [[2020 - Simulation]] | ||
+ | |||
+ | =Questions= | ||
+ | * About 'private', 'protected' variables | ||
+ | * About the use of 'this' | ||
+ | * About constructors | ||
+ | * About the use of 'static' | ||
+ | * About LargeSettlement overriding the constructor of Settlement | ||
+ | * About the use of 'ref' for reference parameters |
Revision as of 13:05, 27 January 2020
This section is to document the skeleton program. Section C will be questions relating to the actual code within the program and could relate to specific methods, variables, programming skills, or theory topics.
Classes
The skeleton program has the following classes:
Questions
- About 'private', 'protected' variables
- About the use of 'this'
- About constructors
- About the use of 'static'
- About LargeSettlement overriding the constructor of Settlement
- About the use of 'ref' for reference parameters