🏆
CPC
  • Welcome to CPC!
  • ⁉️PROGRAMMING PROBLEMS
    • HackerRank
      • Java
        • Welcome to Java!
        • Java Stdin and Stdout I
        • Java If-Else
        • Java Stdin and Stdout II
        • Java Loops I
  • 🔢MATH PROBLEMS
    • HackerRank
    • Project Euler
    • BeeCrowd
  • 🤖DATA SCIENCE PROBLEMS
    • Kaggle
  • 🧠OTHER PROBLEMS
    • HackerRank
      • SQL
        • Revising the Select Query I
        • Revising the Select Query II
        • Select All
        • Select By ID
        • Japanese Cities' Attributes
        • Japanese Cities' Names
        • Weather Observation Station 1
        • Weather Observation Station 3
        • Weather Observation Station 4
        • Weather Observation Station 5
        • Weather Observation Station 6
        • Weather Observation Station 7
  • ❤️TIPS & TRICKS
    • T&T Index
    • Reading two numbers – C/C++/C#
Powered by GitBook
On this page
  • 1. Problem
  • 2. Solution
  1. ⁉️PROGRAMMING PROBLEMS
  2. HackerRank
  3. Java

Welcome to Java!

1. Problem

Problem page

2. Solution

public class Solution {
    public static void main(String[] args) {
        /* Enter your code here. Print output to STDOUT. Your class should be named Solution. */
        System.out.println("Hello, World.");
        System.out.println("Hello, Java."); 
    }
}
PreviousJavaNextJava Stdin and Stdout I

Last updated 3 years ago