From 9faf3f84997d3ccad0090b2e8aefb6662b1834bd Mon Sep 17 00:00:00 2001 From: x0lg0n Date: Sun, 20 Oct 2024 16:09:11 +0530 Subject: [PATCH] Added java program to print Hello World --- Java/HelloWorld.java | 7 +++++++ Java/hello-world.java | 0 2 files changed, 7 insertions(+) create mode 100644 Java/HelloWorld.java delete mode 100644 Java/hello-world.java diff --git a/Java/HelloWorld.java b/Java/HelloWorld.java new file mode 100644 index 0000000..db486d7 --- /dev/null +++ b/Java/HelloWorld.java @@ -0,0 +1,7 @@ +// Program to Print Hello World +public class HelloWorld{ + public static void main(String[] args) { + System.out.println("Hello World!"); + } + +} \ No newline at end of file diff --git a/Java/hello-world.java b/Java/hello-world.java deleted file mode 100644 index e69de29..0000000