GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Create Welcome_to_Java!.java · ihossai4/Hackerrank@db3115f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Java/Introduction
    • Welcome_to_Java!.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Java/Introduction/Welcome_to_Java!.java‎

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/* Welcome to Java!
2+
3+
Welcome to the world of Java! In this challenge, we practice printing to stdout.
4+
5+
The code stubs in your editor declare a Solution class and a main method. Complete the main method by copying the two lines of code below
6+
and pasting them inside the body of your main method.
7+
8+
System.out.println("Hello, World.");
9+
System.out.println("Hello, Java.");
10+
Input Format
11+
12+
There is no input for this challenge.
13+
14+
Output Format
15+
16+
You must print two lines of output:
17+
18+
1. Print Hello, World. on the first line.
19+
2. Print Hello, Java. on the second line. */
20+
21+
22+
public class Solution {
23+
24+
public static void main(String[] args) {
25+
/* Enter your code here. Print output to STDOUT. Your class should be named Solution. */
26+
System.out.println("Hello, World.");
27+
System.out.println("Hello, Java.");
28+
}
29+
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.