aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/hello/HelloWorld.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/hello/HelloWorld.java')
-rw-r--r--src/main/java/hello/HelloWorld.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/hello/HelloWorld.java b/src/main/java/hello/HelloWorld.java
new file mode 100644
index 0000000..0f6004e
--- /dev/null
+++ b/src/main/java/hello/HelloWorld.java
@@ -0,0 +1,8 @@
+package hello;
+
+public class HelloWorld {
+ public static void main(String [] args) {
+ Greeter greeter = new Greeter();
+ System.out.println(greeter.sayHello());
+ }
+}