×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which of the following is not a feature of Scala?

4. Which of the following is not a feature of Scala?

  1. Type inference
  2. Lazy Computation
  3. High order function
  4. None of the above

Answer: D) None of the above

Explanation:

Some common features of Scala are,

  • It runs on a JVM but the compiler is different.
  • Integrates Features of both Object-Oriented Programming and Functional Programming.
  • Lazy Computation increases performance, the expression evaluates only when its evaluation is required.
  • Immutability: it means the value of data cannot be changed by default.
  • Case Classes and Pattern Matching.
  • Type Interface: It recognizes data type and functions return type itself.
  • Concurrency Control: Scala Provide concurrency control using the actor model.
  • High Order Function: A function that works on another function.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.