Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How is a class different from an object?



How is a class different from an object?..

Answer / Ravishankar

In Scala, a class is a blueprint or template for creating objects (also known as instances), while an object is an instance of a class that has its own distinct state and behavior. A class defines the properties and methods that will be common to all instances of that class, but each object created from that class will have its own unique state.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What do you mean by trait in scala and when it is used?

1 Answers  


What is function composition in scala?

1 Answers  


Explain different types of identifiers in scala?

1 Answers  


What are the data types in scala?

1 Answers  


What do you mean by option in scala and why it is used?

1 Answers  


How does yield work in scala?

1 Answers  


Why should I learn scala?

1 Answers  


What are the popular JVM Languages available now?

1 Answers  


What are the Popular Scala-Based Frameworks to develop RESTful Web Services or REST API?

1 Answers  


Explain bitset in scala?

1 Answers  


What is the best Code-coverage tool available for Play and Scala based applications?

1 Answers  


What is flatmap in scala?

1 Answers  


Categories