Choose the statement that best describes the line def this(c: String) = this(0, c); for the code fragment below. class ABC(a: Int, b: Int, c: String) { def this(a: Int, c: String) = this(a, 0, c) def this(c: String) = this(0, c); }
Correct Answer: calls previous auxiliary constructor which calls the primary constructor
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Scala MCQ Questions