// Hello, World! func fun1(str1:String) { println("Output " + str1 + " from fun1.\n") } main() { var s1 = "Hello, World!" println(s1) fun1("test") }
# compile cjc hello.cj -o hello # hello 793664(VSCode: 795384)
# result Hello, World! Output test from fun1.