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 implicit class in scala?

1 Answers  


Explain the operators in scala?

1 Answers  


What is the access modifier in scala?

1 Answers  


What is the latest version of scala?

0 Answers  


How is the scala code compiled?

1 Answers  


What is final in scala?

1 Answers  


What is throw in scala?

1 Answers  


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

1 Answers  


What is 'Application' in Scala or What is Scala Application? What is 'App' in Scala? What is the use of Scala’s App?

1 Answers  


What is the current latest version of scala? What is the major change or update in scala 2.12?

0 Answers  


What is lambda expression in scala?

1 Answers  


What is hashset in scala collection?

1 Answers  


Categories