@@ -0,0 +1,581 @@
+/*%0A     Filename: Greet.java%0A  Description: Echo greetings to user%0A%0A      Version: 0.1%0A      Created: 2014-10-11 13:58:40%0A  Last-update: 2014-10-11 14:01:37%0A     Revision: None%0A%0A       Author: Oxnz%0A        Email: yunxinyi@gmail.com%0A%0ARevision history:%0A%09Date Author Remarks%0A*/%0A%0Apublic class Greeter %7B%0A%09public void greet() %7B%0A%09%09System.out.println(%22Hello, anonymous!%22);%0A%09%7D%0A%0A%09public void greet(String username) %7B%0A%09%09System.out.println(%22Hello, %22 + username);%0A%09%7D%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Greeter greeter = new Greeter();%0A%09%09greeter.greet();%0A%09%09greeter.greet(%22John%22);%0A%09%7D%0A%7D%0A

add greeter class