Browse Source

hello-world: standardize starter implementation

Stuart Kent 9 years ago
parent
commit
0b9b1fddcd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      exercises/hello-world/src/main/java/HelloWorld.java

+ 1
- 1
exercises/hello-world/src/main/java/HelloWorld.java View File

@@ -1,5 +1,5 @@
1 1
 public class HelloWorld {
2 2
     public static String hello(String name) {
3
-        return null;
3
+        throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
4 4
     }
5 5
 }