From e142b73fd3af281050891bda2b709079dfb81402 Mon Sep 17 00:00:00 2001 From: raj-humble <35659984+raj-humble@users.noreply.github.com> Date: Sun, 28 Oct 2018 17:18:37 +0530 Subject: [PATCH] Update day0.java --- day0.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/day0.java b/day0.java index 31ee0e6..4fd3ea8 100644 --- a/day0.java +++ b/day0.java @@ -5,7 +5,7 @@ import java.util.regex.*; public class Solution { public static void main(String[] args) { - // Create a Scanner object to read input from stdin. + Scanner scan = new Scanner(System.in); // Read a full line of input from stdin and save it to our variable, inputString. @@ -18,7 +18,6 @@ public static void main(String[] args) { // Print a string literal saying "Hello, World." to stdout. System.out.println("Hello, World."); - // TODO: Write a line of code here that prints the contents of inputString to stdout. System.out.println(inputString); } -} \ No newline at end of file +}