diff options
| author | Cameron Schermerhorn <cameron.schermerhorn@its.ny.gov> | 2015-10-07 08:56:29 -0400 | 
|---|---|---|
| committer | Cameron Schermerhorn <cameron.schermerhorn@its.ny.gov> | 2015-10-07 08:56:29 -0400 | 
| commit | 18b1c0c4d600284a06e28b59ab1978f777ebcc77 (patch) | |
| tree | 2d3bc9bfa593590b9057ac7b0f0e5674959dd1f4 | |
| parent | ec125fb6e793f54645a6ee592e4b5dec85f22cc5 (diff) | |
Edit string switch addition
+ fix typos:
     line 284: fix prinln to println
     line 293: fix sustem to system
| -rw-r--r-- | java.html.markdown | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/java.html.markdown b/java.html.markdown index a862d294..e567b049 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -281,7 +281,7 @@ public class LearnJava {          String myAnswer = "maybe";          switch(myAnswer){              case "yes": -                System.out.prinln("You answered yes."); +                System.out.println("You answered yes.");                  break;              case "no":                  System.out.println("You answered no."); @@ -290,7 +290,7 @@ public class LearnJava {                  System.out.println("You answered maybe.");                  break;              default: -                Sustem.out.println("You answered " + myAnswer); +                System.out.println("You answered " + myAnswer);                  break;          }  | 
