From 2f3eef3c77dd429b08ea8b4301c929c8334d9b3f Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Tue, 20 Nov 2018 16:00:17 -0500 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BB=A3=E7=A0=81=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E7=9A=84=E6=B3=A8=E9=87=8A=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ossez/lang/tutorial/overview/FreshJuiceEnums.java | 3 +-- .../java/com/ossez/lang/tutorial/overview/HelloWorld.java | 7 ++++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/ossez/lang/tutorial/overview/FreshJuiceEnums.java b/src/main/java/com/ossez/lang/tutorial/overview/FreshJuiceEnums.java index 531af96b15..d4d868528e 100644 --- a/src/main/java/com/ossez/lang/tutorial/overview/FreshJuiceEnums.java +++ b/src/main/java/com/ossez/lang/tutorial/overview/FreshJuiceEnums.java @@ -1,7 +1,7 @@ package com.ossez.lang.tutorial.overview; /** - * Java Tutorial Enums + * Java Tutorial * * @author YuCheng * @@ -18,6 +18,5 @@ public class FreshJuiceEnums { public static void main(String[] args) { FreshJuice juice = new FreshJuice(); juice.size = FreshJuice.FreshJuiceSize.MEDIUM; - System.out.println("Size: " + juice.size); } } \ No newline at end of file diff --git a/src/main/java/com/ossez/lang/tutorial/overview/HelloWorld.java b/src/main/java/com/ossez/lang/tutorial/overview/HelloWorld.java index 51b395da04..f7382f0a81 100644 --- a/src/main/java/com/ossez/lang/tutorial/overview/HelloWorld.java +++ b/src/main/java/com/ossez/lang/tutorial/overview/HelloWorld.java @@ -3,11 +3,16 @@ package com.ossez.lang.tutorial.overview; /** * Java Tutorial * + * This is my first java program. This will print 'Hello World' as the output This is an example of multi-line comments + * * @author YuCheng * */ public class HelloWorld { public static void main(String[] args) { + // This is an example of single line comment + /* This is also an example of single line comment. */ + System.out.println("Hello World"); } -} \ No newline at end of file +}