Kindly find the below correct code:



object helloworld {
 
  def main(args: Array[String]): Unit = {}
 
  println("Hello to scala world")
   
}







Regards

Sumit Anand

edureka! Solution Team

Website - www.edureka.co

Edureka claims 1st position at Deloitte's Technology Fast 50 India 2014