diff options
author | Adam Bard <github@adambard.com> | 2015-10-18 00:06:29 +0800 |
---|---|---|
committer | Adam Bard <github@adambard.com> | 2015-10-18 00:06:29 +0800 |
commit | 15f8e4925ff7240ae4eb3fef0685d632d6bc2cae (patch) | |
tree | 85e5e1be495159b9f998c0a38af7388312b0c341 /java.html.markdown | |
parent | 24bd3a51ce48c1fc8c99531c2da47b53897822e7 (diff) | |
parent | 552a885df5c325bf620545e4c31741de4ef1c04d (diff) |
Merge pull request #1582 from chaityabshah/master
[Java/EN] Fix Spacing Inconsistency (Switch Statement)
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 fa5cf8fc..c2c1a18b 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -331,7 +331,7 @@ public class LearnJava { // Starting in Java 7 and above, switching Strings works like this: String myAnswer = "maybe"; - switch(myAnswer){ + switch(myAnswer) { case "yes": System.out.println("You answered yes."); break; |