Scala – Classes and Objects
Classes and Objects are basic concepts of Object Oriented Programming.Class is a blueprint from which objects of same type can be created.Object is an entity that has two characteristics , State and Behavior.
Classes and Objects are basic concepts of Object Oriented Programming.Class is a blueprint from which objects of same type can be created.Object is an entity that has two characteristics , State and Behavior.