diff options
author | Adam Bard <github@adambard.com> | 2013-10-09 09:21:03 -0700 |
---|---|---|
committer | Adam Bard <github@adambard.com> | 2013-10-09 09:21:03 -0700 |
commit | dac3063ddf1781eeff8704f0b61d38a302b42db7 (patch) | |
tree | a3a3c419761608eb48397b71444f189e04866603 /java.html.markdown | |
parent | 90461919cdd9672495b421c425510ff2f0a1e4c3 (diff) | |
parent | 925ded87809a5ae9f40a3c825324cb083eaba81e (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.markdown | 2 |
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 |