Answer Posted / Sarfaraj Khan
The 'extend' keyword in Scala is used to create a subclass that extends an existing class or trait. It allows the new class to inherit all the methods and properties of the parent class, and optionally override some of them.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers