What is the output of this function?scaladef main () { var a = 0 for (a

🎲 Try a Random Question  |  Total Questions in Quiz: 48  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Scala Quiz — practice the complete quiz, review flashcards, or try a random question.

Scala MCQs For LinkedIn Skill Assessments.

Scala is a strong statically typed general-purpose programming language which supports both object-oriented programming and functional programming.


What is the output of this function?<br>scala<br>def main () {<br> var a = 0<br> for (a<-1 until 5){println(a)}<br>