Multiple choice technology programming languages

Constructors use "this"(keyword) to refer to another constructor in the same class with a different parameter list

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Constructors can use this() to call another constructor in the same class (constructor chaining). This allows you to avoid code duplication by having one constructor do the common work and others call it with appropriate default parameters. The called constructor must have a different parameter list.