About This Book "Scala in 8 Hours" is a textbook for high school and college students; it covers all essential Scala language knowledge . You can learn complete primary skills of Scala programming fast and easily . The textbook includes a lot of practical examples for beginners and includes exercises for the college final exam, the engineer certification exam, and the job interview exam . "Scala in 8 Hours" is a useful textbook for beginners . The straightforward definitions, the plain examples, the elaborate explanations and the neat layout feature this helpful and educative book . You will be impressed by its distinctive and tidy writing style . Reading this book is a great enjoyment!
Note This book is only suitable for Scala programming beginners, high school students and college students; it is not for the experienced Scala programmers .
Source Code Available This book provides source code for reference; you can reference the source code for better study, or copy the source code to your favorite editor to test the programs.
Table of Contents
Hour 1 What is Scala Language? The Feature of Scala Install JDK Install Scala
Hour 2 “Hello World” Program Basic Grammar Scala Keywords Scala Comment Package Data Type
Hour 3 Variables Declare Variable Type Declare Multi Variables Constants Arithmetical Operators Comparison Operators Logical Operators Assignment Operators
Hour 4 If Statement If-else Statement If…else if…else While Loop Do-While Loop For Loop (1) For Loop (2) For Loop (3)