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 ‘scala trait’ in scala?



What is ‘scala trait’ in scala?..

Answer / Ashutosh Kumar Dubey

'Scala trait' is a fundamental concept similar to Java interfaces. However, traits in Scala can contain method implementations, not just method signatures like Java interfaces. Traits in Scala can be mixed into classes and other traits, which allows for more flexibility and code reusability compared to Java interfaces.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is vector in scala collection?

1 Answers  


Does a Companion object access private members of it’s Companion class in Scala?

1 Answers  


What is option/some/none design pattern in scala?

1 Answers  


What is a monad in scala?

1 Answers  


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

1 Answers  


Give some examples of packages in scala?

1 Answers  


What is scala map function?

1 Answers  


What are implicit parameters in Scala?

1 Answers  


What are option, some and none in scala?

1 Answers  


What is a constructor in scala?

1 Answers  


What is Null in Scala? What is null in Scala? What is difference between Null and null in Scala?

1 Answers  


What are the differences between Array and ArrayBuffer in Scala?

1 Answers  


Categories