Parcourir la source

Merge pull request #556 from exercism/533-hello-world-starter

hello-world: standardize starter implementation
FridaTveit il y a 9 ans
Parent
révision
2e3d325f6c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      exercises/hello-world/src/main/java/HelloWorld.java

+ 1
- 1
exercises/hello-world/src/main/java/HelloWorld.java Voir le fichier

1
 public class HelloWorld {
1
 public class HelloWorld {
2
     public static String hello(String name) {
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
 }