From ecaffd7d36151a9205730630b80aeea30fa82785 Mon Sep 17 00:00:00 2001
From: Sarvari Harshitha Konda
<135520056+SarvariHarshitha@users.noreply.github.com>
Date: Thu, 2 Jan 2025 23:43:31 +0530
Subject: [PATCH 1/3] Add files via upload
New language Java snippets
---
snippets/java/basics/hello-world.md | 18 ++++++++++++++++++
snippets/java/icon.svg | 2 ++
2 files changed, 20 insertions(+)
create mode 100644 snippets/java/basics/hello-world.md
create mode 100644 snippets/java/icon.svg
diff --git a/snippets/java/basics/hello-world.md b/snippets/java/basics/hello-world.md
new file mode 100644
index 00000000..634b38eb
--- /dev/null
+++ b/snippets/java/basics/hello-world.md
@@ -0,0 +1,18 @@
+---
+title: Hello-World
+description: Prints Hello world in the console
+author: SarvariHarshitha
+tags: java, console, printing
+---
+
+```java
+// This is the main class of the Java program
+public class Main {
+ // The main method is the entry point of the program
+ public static void main(String args[]) {
+ // This statement prints "Hello, World!" to the console
+ System.out.println("Hello, World!");
+ }
+}
+
+```
\ No newline at end of file
diff --git a/snippets/java/icon.svg b/snippets/java/icon.svg
new file mode 100644
index 00000000..bf1a2243
--- /dev/null
+++ b/snippets/java/icon.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
From 17bd3052fe51ae3e8ec328b2ae34b1579cebd1cc Mon Sep 17 00:00:00 2001
From: Sarvari Harshitha Konda
<135520056+SarvariHarshitha@users.noreply.github.com>
Date: Fri, 3 Jan 2025 02:09:58 +0530
Subject: [PATCH 2/3] Delete snippets/java/icon.svg
---
snippets/java/icon.svg | 2 --
1 file changed, 2 deletions(-)
delete mode 100644 snippets/java/icon.svg
diff --git a/snippets/java/icon.svg b/snippets/java/icon.svg
deleted file mode 100644
index bf1a2243..00000000
--- a/snippets/java/icon.svg
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
From 3e2800385ba30bdc66c2556c34abc72c32d9bb4a Mon Sep 17 00:00:00 2001
From: Sarvari Harshitha Konda
<135520056+SarvariHarshitha@users.noreply.github.com>
Date: Fri, 3 Jan 2025 02:10:12 +0530
Subject: [PATCH 3/3] Add files via upload
---
snippets/java/icon.svg | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 snippets/java/icon.svg
diff --git a/snippets/java/icon.svg b/snippets/java/icon.svg
new file mode 100644
index 00000000..e51aae9c
--- /dev/null
+++ b/snippets/java/icon.svg
@@ -0,0 +1,12 @@
+
+