November 2014
Intermediate to advanced
366 pages
9h 17m
English
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Then, it calls the square method to compute the value for the local variable s."
A block of code is shown as follows:
object SquareOf5 extends App {
def square(x: Int): Int = x * x
val s = square(5)
println(s"Result: $s")
}Any command-line input or output is written as follows:
run-main-46: ... Thread-80: New thread running. run-main-46: ... run-main-46: New thread joined.
New terms and
Read now
Unlock full access