Hello World (Java 7)

coffee cup in front of computer monitor with programming code

import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

public class Solution {
    public static void main(String[] args) {
        // basic input
	Scanner scan = new Scanner(System.in);
	String inputString = scan.nextLine();

	// basic output
	System.out.println("Hello, World.");

Be the first to comment

Leave a Reply

Your email address will not be published.