What are expressions in Scala?

57. What are expressions in Scala?

  1. Line of code that compiles to a value
  2. Code block without semicolon
  3. Line of code containing = sign
  4. None of these

Answer: A) Line of code that compiles to a value

Explanation:

The expressions are the line of code that compiles to a value.

Comments and Discussions!

Load comments ↻






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