From 552a885df5c325bf620545e4c31741de4ef1c04d Mon Sep 17 00:00:00 2001 From: Chaitya Shah Date: Fri, 16 Oct 2015 21:50:34 -0400 Subject: Fix Spacing Inconsistency (Switch Statement) --- java.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java.html.markdown') 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; -- cgit v1.2.3