Add Greeting Class for Hello World TDD demonstration

master
Hammy 4 years ago
parent 9f9a3f68d4
commit ebb9bbd218

@ -1,13 +0,0 @@
package hello.world;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println("Hello World!");
}
}

@ -11,7 +11,12 @@ public class Greeting {
this.message = message; this.message = message;
} }
public String getMessage() { return message; } public String getMessage() {
public void setMessage(String message) { this.message = message; } return message;
}
public void setMessage(String message) {
this.message = message;
}
} }

Loading…
Cancel
Save