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 is case object?



What is case object?..

Answer / Ajay Tyagi

A case object in Scala is a special type of case class that implicitly defines an empty constructor, equals and hashCode methods, as well as toString. It's used to create immutable singleton objects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is a companion object?

1 Answers  


Give some examples of packages in scala?

1 Answers  


Difference between Scala’s Inner class and Java’s Inner class?

1 Answers  


How Scala solves Inheritance Diamond Problem automatically and easily than Java 8?

1 Answers  


What is default access modifier in Scala?Does Scala have 'public' keyword?

1 Answers  


What is listset in scala collection?

1 Answers  


What is exception handling in scala?

1 Answers  


What are the differences between Array and ArrayBuffer in Scala?

1 Answers  


What is the difference between a java future and a scala future?

1 Answers  


Explain recursion through a program?

1 Answers  


Explain the operators in scala?

1 Answers  


Does scala and java support call-by-name?

1 Answers  


Categories