#labs- Scala Objects Practice

scala

#1

Hello Team,

I have been using itveristy labs for learning Scala, but when the course comes to Objects ,I cannot practice it on console as it requires Intellij or Ecclipse.My laptop doesn’t support those setup due to configuratuions problem.Is there anyway I can practice Scala further with big data labs.Did you provide any console for accessing Intellij or Ecclipse in itversity labs?
Best Regards,
Siva Krishna J


#2

@sivajkrishna

You can practice object oriented concepts aswell using labs

For Example create an object using below code

object HelloWorld {
  def main(args: Array[String]): Unit = {
    println("Hello World")
}
}

and run it with the following command

HelloWorld.main(Array(" "))

Watch this video for object-oriented concept


#3

Got it, Thanks so much for your quick help :smile:


#4