Skip to content

Instantly share code, notes, and snippets.

@minte9
Last active August 31, 2021 12:07
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 minte9/df6677b674ff211c46639bc5530ebece to your computer and use it in GitHub Desktop.
Save minte9/df6677b674ff211c46639bc5530ebece to your computer and use it in GitHub Desktop.
/**
* Create a class and output "Hello Java!"
* Java code always starts in the main() method
*/
class MyClass {
/**
* SOLUTION
*/
public static void main(String args) {
System.out.println("Hello Java!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment