Procházet zdrojové kódy

hello-world: standardize starter implementation

Stuart Kent před 9 roky
rodič
revize
0b9b1fddcd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      exercises/hello-world/src/main/java/HelloWorld.java

+ 1
- 1
exercises/hello-world/src/main/java/HelloWorld.java Zobrazit soubor

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
 }