I am learning scala. I have one basic question.
My question is not about class. It is about objects.
I would like to understand how scala's class instance differs from java class instance.
I have the below code in scala
class Employee(var id:Int,var name:String)
{
    def show()
    {
      println("Id : " +id)
      println("Name :"+name)
    }
}
 object obj1
 {
     def main(args: Array[String])
     {
         val emp1 = new Employee(100,"Surender")
         emp1.show
     }
 }
I want to know what is obj1? Can we say obj1 is the instance of class Employee or object of class Employee.
Similarly How does Obj1 differ from emp1?
 
     
    