Program to convert Java list of Shorts to Traversable in Scala
A java list of Shorts can be converted to a Traversable collection in Scala by utilizing toTraversable method of Java in Scala. Here, you need to import Scalaâs JavaConversions object in order to make this conversions work. Now, lets see some examples and then discuss how it works in details. Exampl