XML

COMP3200 Anonymous Questions and Answers Keyword Index

This page provides a keyword index to questions and answers. Clicking on a keyword will take you to a page containing all questions and answers for that keyword, grouped by year.

To submit a question, use the anonymous questions page. You may find the keyword index and/or top-level index useful for locating past questions and answers.

Keyword reference for setter-method

2024

Question 20 (2024):

Submission reference: IN3665

What does this question mean?

Exercise 3.06: Define a setter for the reference field, with the following
header:

public void setReference(String ref)

The body of this method must assign the value of the parameter to the
reference field.

Answer 20:

Setter methods were explained in the lecture on Monday in week 3. You can find the recording in the Panopto section of the Moodle page, and the slides for that lecture are here: Week 10 Monday - exploring source code

Keywords: setter-method

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
Last modified Fri Jan 17 08:25:21 2025
This document is maintained by David Barnes, to whom any comments and corrections should be addressed.