From 8e0e84c1a2fcd366739105a84822473f78be2d9f Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 5 Dec 2017 12:09:32 +0100 Subject: [PATCH] Excercises 1-2 and 1-3 --- ch01/Hello.java | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/ch01/Hello.java b/ch01/Hello.java index 593557b..ce10ec8 100644 --- a/ch01/Hello.java +++ b/ch01/Hello.java @@ -1,8 +1,10 @@ -public class Hello { - - public static void main(String[] args) { - // generate some simple output - System.out.println("Hello, World!"); - } - -} +public class Hello { + + public static void main(String[] args) { + // generate some simple output + System.out.println("Hello, World!"); + // printing second line + System.out.println("How are you?"); + } + +}