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 final-field
2024 |
Submission reference: IN3695
in my assignment 2 project some private fields say: make '<something>' final is this something i should ignore for now or should i look into that.
You can accept the suggestion if the field is one that won't be changed by any of the methods in the class. For instance, if it doesn't have a setter. A final field is one whose value is fixed for the life of the object.
Keywords: final-field
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License. |