1

For example when I need to running javaFX application with scala, i must to typed a code like this:

object ChangeCurrentFrame{

  def main(args: Array[String]){
    Application.launch( classOf[ChangeCurrentFrame ], args: _*)
  }
}

I dont really understand what is the meaning of args : _ * in that snippet.

Mohammad Fajar
  • 957
  • 1
  • 12
  • 24

0 Answers0