In this Scala Tutorial, you will learn How to Install Scala IDE on windows 10 and How to write your first Scala Hello World application by creating your first project in Scala IDE and then running it.
Object is a class but it already has an instance, so you can not call new ObjectName. The object keyword creates a new singleton type, which is like a class that only has a single named instance. An object has exactly one instance (you can not call new MyObject).
You can have multiple instances of a class. Object serves the same (and some additional) purposes as the static methods and fields in Java.
My Website – www.codebind.com
My Blog – goo.gl/Nd2pFn
My Facebook Page – goo.gl/eLp2cQ
Google+ – goo.gl/lvC5FX
Twitter – twitter.com/ProgrammingKnow
Pinterest – goo.gl/kCInUp
Text Case Converter – goo.gl/pVpcwL
Epoch Timestamp Converter – goo.gl/Zedjo5
Decimal – Binary – Hexadecimal Converter – goo.gl/rkX3JE
8-bit Checksum Calculator – goo.gl/inxvIT