In Scala, can you return two values?

20. In Scala, can you return two values?

  1. Yes
  2. No

Answer: A) Yes

Explanation:

In Scala, Options are used to return two instances.

Comments and Discussions!

Load comments ↻






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