Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/8a89274ecb64542fdb3d4172f90ca091 to your computer and use it in GitHub Desktop.
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/b0d16b01fcf73c201bef53a0a10b3b0966dbcfa2
// summary : scala cli - hello world in java
// keywords : java, scalacli, helloworld, @testable
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// 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