B4Coder
0%
LessonAbout 7 min

Chapter 8 · Lesson 3 of 5

03. Constructors and this

A constructor sets up a new object's fields as it's made, so new Student("Anu", 82) gives an object that's ready to use.

Opening the lesson…