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...


When compare to Normal Class, What are the major advantages or benefits of a Case-class?



When compare to Normal Class, What are the major advantages or benefits of a Case-class?..

Answer / Pooja Singh

Major advantages of Case-classes in Scala include: immutability, constructor parameter checking, pattern matching support, and easier serialization/deserialization.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is an array in scala?

1 Answers  


How is a class different from an object?

1 Answers  


How to define Factory methods using object keyword in Scala? What is the use of defining Factory methods in object?

1 Answers  


Explain streams in scala?

1 Answers  


What is pattern matching?

1 Answers  


What is Range in Scala? How to create a Range in Scala?

1 Answers  


Is Scala an Expression-Based Language or Statement-Based Language? Is Java an Expression-Based Language or Statement-Based Language?

1 Answers  


Why Scala does NOT have 'static' keyword? What is the main reason for this decision?

1 Answers  


What is REPL in Scala? What is the use of Scala’s REPL? How to access Scala REPL from CMD Prompt?

1 Answers  


What is Primary Constructor? What is Secondary or Auxiliary Constructor in Scala?

1 Answers  


What is the best Framework to generate REST API documentation for Scala-based applications?

1 Answers  


What do you mean by a case class in scala?

1 Answers  


Categories