Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



#functions #scala #variable-arguments
the type of args inside the printStrings function, which is declared as type "String*" is actually Array[String].
If you want to change selection, open document below and click on "Move attachment"

Scala Function with Variable Arguments
; i = i + 1; } } } When the above code is compiled and executed, it produces the following result: C:/>scalac Test.scala C:/>scala Test Arg value[0] = Hello Arg value[1] = Scala Arg value[2] = Python C:/> Here, t<span>he type of args inside the printStrings function, which is declared as type "String*" is actually Array[String]. Previous Page Print Version PDF Version Next Page Advertisements Modern Baby Names Online Photo Editing Advertisements ASP.NET | jQuery |


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.