Scala Online Test | A Secret Box of Knowledge

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!

Your 15 seconds will encourage us to work even harder
Please share your happy experience on Google

courses

DataFlair Team

The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.

3 Responses

  1. Konstantin says:

    I think you have this one backwards.

    Q.20 A collection of type collection.Seq is immutable.
    True
    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.
    Regards,
    DataFlair

  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 *