Constructors - 2017

From TRCCompSci - AQA Computer Science
Revision as of 05:10, 26 May 2017 by Admin (talk | contribs) (Created page with "A constructor method has the same name as the class. It is used when an instance of the class is created, the constructor method will always be run. A class can have many cons...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A constructor method has the same name as the class. It is used when an instance of the class is created, the constructor method will always be run. A class can have many constructor methods.