Difference between revisions of "Template:Constructor 1param 4deep"

From CSE231 Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
====constructor====
 
====constructor====
  
Maintain the {{{1}}} provided in a ([https://www.w3schools.com/java/ref_keyword_private.asp private] [https://www.w3schools.com/java/ref_keyword_final.asp final]) instance variable for later use.
+
Maintain the passed {{{1}}} parameter in a ([https://www.w3schools.com/java/ref_keyword_private.asp private] [https://www.w3schools.com/java/ref_keyword_final.asp final]) instance variable for later use.

Revision as of 22:10, 7 February 2024

constructor

Maintain the passed {{{1}}} parameter in a (private final) instance variable for later use.