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



What is the final class in scala?..

Answer / Anuj Srivastava

The `final` keyword in Scala is used to prevent a class or method from being overridden by subclasses. When a class is declared as final, it cannot be subclassed, and when a method is declared as final, it cannot be overridden.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

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

1 Answers  


What is tail recursion in scala?

1 Answers  


Explain pattern matching in scala through an example?

1 Answers  


What are left and right in scala?

1 Answers  


Explain trait in scala and its uses?

1 Answers  


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

1 Answers  


What is method overriding in scala?

1 Answers  


What is the difference between Case Object and Object(Normal Object)?

1 Answers  


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

1 Answers  


What does set in scala collection?

1 Answers  


Why is scala good for big data?

1 Answers  


What are the Scala Features?

1 Answers  


Categories