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


What are case classes in scala?



What are case classes in scala?..

Answer / Irshad Ahmad

"Case classes in Scala are a special type of class that provide useful features such as constructor-based pattern matching, deconstruction, and toString methods. They can be created using the case keyword followed by the name of the class and its parameters separated by semicolons. The syntax for creating a case class is: case class CaseClassName(parameters...)"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is a class in scala?

1 Answers  


What is implicit class in scala?

1 Answers  


What does s method in scala string interpolation?

1 Answers  


Is scala easy to learn?

1 Answers  


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

1 Answers  


Difference between Array and List in Scala?

1 Answers  


What is the use of ‘???’ in Scala-based Applications?

1 Answers  


Why should I learn scala?

1 Answers  


What are the available Unit Testing, Functional Testing and/or BDD Frameworks for Play and Scala Based applications?

1 Answers  


Explain the difference between a trait and an abstract class?

1 Answers  


Explain operator and Explain types of operators in scala?

1 Answers  


What is scala best used for?

1 Answers  


Categories