summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-10-09 09:21:03 -0700
committerAdam Bard <github@adambard.com>2013-10-09 09:21:03 -0700
commitdac3063ddf1781eeff8704f0b61d38a302b42db7 (patch)
treea3a3c419761608eb48397b71444f189e04866603 /java.html.markdown
parent90461919cdd9672495b421c425510ff2f0a1e4c3 (diff)
parent925ded87809a5ae9f40a3c825324cb083eaba81e (diff)
Merge pull request #375 from xakon/master
[perl/en] Fix some links at Perl tutorial
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 0dec51d1..3d0cb1d7 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -250,7 +250,7 @@ public class LearnJava {
// Conditional Shorthand
// You can use the '?' operator for quick assignments or logic forks.
// Reads as "If (statement) is true, use <first value>, otherwise, use <second value>"
- int foo = 5
+ int foo = 5;
String bar = (foo < 10) ? "A" : "B";
System.out.println(bar); // Prints A, because the statement is true