首页IT科技getting started with bluetooth(Getting Started with Scala | The Scala Programming Language)

getting started with bluetooth(Getting Started with Scala | The Scala Programming Language)

时间2025-06-17 05:25:09分类IT科技浏览4490
导读:Script it ! The above Scala program may also be run as a shell script respectively as a batch command (see the examples in the man pages of the scala command ...

Script it !

The above Scala program may also be run as a shell script respectively as a batch command (see the examples in the man pages of the scala command).

The bash shell script script.sh containing the following Scala code (and shell preamble)

#!/bin/sh exec scala "$0" "$@" !# object HelloWorld { def main(args: Array[String]) { println("Hello, world! " + args.toList) } } HelloWorld.main(args)

创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!

展开全文READ MORE
stl vector push back大量数据的性能优化(STL vector vs list function comparison:) 找工作网站排名前10(上海婚恋网站排名前10)