Created
July 20, 2020 14:53
-
-
Save nikhilrajsingh/8b1ca909fcfd6cf2b38359113a003125 to your computer and use it in GitHub Desktop.
task 1-Create a "Hello,World!" program in Java
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
//created by Nikhil Raj Singh | |
//section K | |
// task 1-Create a "Hello,World!" program in Java | |
class HelloWorld{ | |
void task1(){ | |
System.out.println("Hello,World! "); | |
} | |
} | |
class Run{ | |
public static void main(String[] args) { | |
HelloWorld run = new HelloWorld(); | |
run.task1(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment