Programming, Scala, Data Type, Abstraction, Introduction.
note that: val u:Int = 4315 val v:String = "Languages and Paradigms" and val x = 4315 val y = "Languages and Paradigms" both produce the same result. The compiler will infer the types, Int and String respectively, based on their usage within the code. Though it is common to see type declaration if