Q:

Which one of the following keyword use to define a function in Scala?

0

Which one of the following keyword use to define a function in Scala?


  1. def
  2. func
  3. function
  4. We use the data type instead

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

def

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Select the output for the following line of code: ... >>
<< The variable defined using __ keywords are mutable...