Scala Online Test | A Secret Box of Knowledge

Free Scala course with real-time projects Start Now!!

After learning scala, we come up with a tricky Scala Online Test. This Scala Online Test has more interesting MCQ’s for Scala Programming.

Do not forget to check other Scala quizzes as well in this series of scala quiz to revise all concepts thoroughly:

Have you enjoyed the Scala Quiz? Share your feedback with us through comment box!

Did we exceed your expectations?
If Yes, share your valuable feedback on Google

follow dataflair on YouTube

3 Responses

  1. Konstantin says:

    I think you have this one backwards.

    Q.20 A collection of type collection.Seq is immutable.
    Correct Answer: False

  2. DataFlair Team says:

    Hi Konstantin,
    Thanks for the observation, we have corrected the answer. You can refer our next Scala Quiz for more questions.

  3. chcl says:

    > Select the correct output for the following code:
    > val leaders=collection.mutable.Buffer(“Reykon”)
    > leaders+=”obama”
    > println(leaders)

    > ArrayBuffer(Reykon, Obama)

    That’s plain wrong!

    It’s obviously “ArrayBuffer(Reykon, obama)”…

Leave a Reply

Your email address will not be published. Required fields are marked *