Skip to content

Commit 0107be9

Browse files
authored
Update README.md
1 parent 97121a3 commit 0107be9

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

README.md

+29-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
1-
# hello_world
1+
## Hello World
2+
# Program to print Hello World in Java
3+
4+
Here we will see the basic syntax of a java program In the first program we print `Hello Wolrd`.
5+
6+
## Input
7+
8+
9+
```java
10+
//Program to print Hello World
11+
12+
class HelloWorld
13+
{ //start of class
14+
15+
public static void main(String[] args)
16+
17+
{ //start of main() method
18+
19+
System.out.println("Hello, World!");//printing Hello World
20+
21+
} //end of main() method
22+
23+
} //end of the class
24+
```
25+
## Output
26+
27+
```
28+
Hello World!
29+
```

0 commit comments

Comments
 (0)