Skip to content

Commit fee26c7

Browse files
committed
Update consolidated snippets
1 parent 7512a90 commit fee26c7

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

public/consolidated/_index.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"lang": "HTML",
2424
"icon": "/icons/html.svg"
2525
},
26+
{
27+
"lang": "JAVA",
28+
"icon": "/icons/java.svg"
29+
},
2630
{
2731
"lang": "JAVASCRIPT",
2832
"icon": "/icons/javascript.svg"

public/consolidated/java.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[
2+
{
3+
"categoryName": "Basics",
4+
"snippets": [
5+
{
6+
"title": "Hello-World",
7+
"description": "Prints Hello world in the console",
8+
"author": "SarvariHarshitha",
9+
"tags": [
10+
"java",
11+
"console",
12+
"printing"
13+
],
14+
"contributors": [],
15+
"code": "// This is the main class of the Java program\npublic class Main {\n // The main method is the entry point of the program\n public static void main(String args[]) {\n // This statement prints \"Hello, World!\" to the console\n System.out.println(\"Hello, World!\");\n }\n}\n\n"
16+
}
17+
]
18+
}
19+
]

public/icons/java.svg

Lines changed: 12 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)