diff options
author | Cameron Schermerhorn <cameron.schermerhorn@its.ny.gov> | 2015-10-09 08:14:11 -0400 |
---|---|---|
committer | Cameron Schermerhorn <cameron.schermerhorn@its.ny.gov> | 2015-10-09 08:14:11 -0400 |
commit | bf7d33037f64ea9f80f106a37929e3fdf20bd24d (patch) | |
tree | 4aede35cc9721512151f376f6f29f27799be7620 /java.html.markdown | |
parent | 18b1c0c4d600284a06e28b59ab1978f777ebcc77 (diff) |
Add space to comment prior to switch string
+ Add space to comment (after //) prior to switch on string example
Diffstat (limited to 'java.html.markdown')
-rw-r--r-- | java.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java.html.markdown b/java.html.markdown index e567b049..eb8b23e9 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -277,7 +277,7 @@ public class LearnJava { } System.out.println("Switch Case Result: " + monthString); - //Starting in Java 7 and above, switching Strings works like this: + // Starting in Java 7 and above, switching Strings works like this: String myAnswer = "maybe"; switch(myAnswer){ case "yes": |