summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
authorCameron Schermerhorn <cameron.schermerhorn@its.ny.gov>2015-10-07 08:56:29 -0400
committerCameron Schermerhorn <cameron.schermerhorn@its.ny.gov>2015-10-07 08:56:29 -0400
commit18b1c0c4d600284a06e28b59ab1978f777ebcc77 (patch)
tree2d3bc9bfa593590b9057ac7b0f0e5674959dd1f4 /java.html.markdown
parentec125fb6e793f54645a6ee592e4b5dec85f22cc5 (diff)
Edit string switch addition
+ fix typos: line 284: fix prinln to println line 293: fix sustem to system
Diffstat (limited to 'java.html.markdown')
-rw-r--r--java.html.markdown4
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;
}