Explain how scala is both functional and object-oriented programming language?
Answer Posted / Amardeep Karn
Scala is a hybrid programming language that combines functional and object-oriented paradigms. It encourages the use of immutable data structures, higher-order functions, and pattern matching (functional programming), while also supporting classes, inheritance, and interfaces (object-oriented programming).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers