Classes

Class and Object keyword In Scala Programming

Scala is hybrid language contain both functional and object oriented functionality. Scala was created by Martin Odersky. Scala run on JVM, and you can also use java api with in scala program. You can write Scala program with two keyword 1. class and 2. object. Example: class Car{ def run(){ println(“running”); } } object App{ def main(args: Array[String]) { println(“hello World”); val car = new Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!