summaryrefslogtreecommitdiffhomepage
path: root/scala.html.markdown
diff options
context:
space:
mode:
authorCameron Schermerhorn <Cameron.Schermerhorn@its.ny.gov>2015-10-09 13:30:07 -0400
committerCameron Schermerhorn <Cameron.Schermerhorn@its.ny.gov>2015-10-09 13:30:07 -0400
commitd2010c08604c25b3166977e0cde795732ecde551 (patch)
treed4d6d72b9364e85decc55770e1f451f479321b67 /scala.html.markdown
parentbf7d33037f64ea9f80f106a37929e3fdf20bd24d (diff)
parentea943b61fbee8fb0ba34f88b4d0380400e890f30 (diff)
Merge remote-tracking branch 'refs/remotes/adambard/master'
Conflicts: java.html.markdown
Diffstat (limited to 'scala.html.markdown')
-rw-r--r--scala.html.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/scala.html.markdown b/scala.html.markdown
index c482752d..7189be10 100644
--- a/scala.html.markdown
+++ b/scala.html.markdown
@@ -43,9 +43,13 @@ Scala - the scalable language
// Printing, and forcing a new line on the next print
println("Hello world!")
println(10)
+// Hello world!
+// 10
// Printing, without forcing a new line on next print
print("Hello world")
+print(10)
+// Hello world!10
// Declaring values is done using either var or val.
// val declarations are immutable, whereas vars are mutable. Immutability is