summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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;
}