Last active
August 31, 2021 12:07
-
-
Save minte9/df6677b674ff211c46639bc5530ebece to your computer and use it in GitHub Desktop.
Java / Basics / Classes - https://www.minte9.com/java/basics-classes-1175
This file contains 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
/** | |
* 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