Last active
February 3, 2026 20:21
-
-
Save dacr/8a89274ecb64542fdb3d4172f90ca091 to your computer and use it in GitHub Desktop.
scala cli - hello world in java / published by https://github.com/dacr/code-examples-manager #60c24a80-a4be-466f-8d44-7fa86c61564f/8c6ac47cb5752437eca08772c865fd3de5ec2a38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // summary : scala cli - hello world in java | |
| // keywords : java, scalacli, helloworld, @testable | |
| // publish : gist | |
| // authors : David Crosson | |
| // license : Apache License Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) | |
| // id : 60c24a80-a4be-466f-8d44-7fa86c61564f | |
| // created-on : 2022-01-09T17:42:37+01:00 | |
| // managed-by : https://github.com/dacr/code-examples-manager | |
| // run-with : scala-cli $file | |
| public class ScalaCLIHelloJava { | |
| public static void main(String[] args) { | |
| var message = "hello world"; | |
| System.out.println(message); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment