forked from SedaKunda/hackerrank
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWelcomeToJava.java
More file actions
22 lines (16 loc) · 580 Bytes
/
Copy pathWelcomeToJava.java
File metadata and controls
22 lines (16 loc) · 580 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
Welcome to the world of Java! Just print "Hello World." and "Hello Java." in two separate lines to complete this challenge.
The code stub in the editor already creates the main function and solution class. All you have to do is copy and paste the following lines inside the main function.
System.out.println("Hello World.");
System.out.println("Hello Java.");
Sample Output
Hello World.
Hello Java.
*/
public class WelcomeToJava {
public static void main(String []argv)
{
System.out.println("Hello World.");
System.out.println("Hello Java.");
}
}