summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
authorCameron Schermerhorn <cameron.schermerhorn@its.ny.gov>2015-10-09 08:14:11 -0400
committerCameron Schermerhorn <cameron.schermerhorn@its.ny.gov>2015-10-09 08:14:11 -0400
commitbf7d33037f64ea9f80f106a37929e3fdf20bd24d (patch)
tree4aede35cc9721512151f376f6f29f27799be7620 /java.html.markdown
parent18b1c0c4d600284a06e28b59ab1978f777ebcc77 (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.markdown2
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":