Answer Posted / Ashwanee Kumar Singh
A Constructor in Scala is a special method that is used to create and initialize new instances of a class. The primary constructor for a class is defined automatically by the compiler if no user-defined constructors are provided.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers