Scala Basic Data Types

    Basic Types

    Note: Scala does not contain the concept of primitive type like in Java. While it has wrapper objects around Primitive data types.

    To get started we should know about some basic constructs that can be used to start writing the program, such as declaring a variable, creating methods, writing your main function and then executing a program. Let us go through each step one by one.