What is scala trait?



What is scala trait?..

Answer / Ravi Prakash

"A Scala trait is a type of interface that contains a partial implementation of a class. It can define abstract methods and properties, but not variables or concrete implementations."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is a collection in scala?

1 Answers  


What is lazy val in scala?

1 Answers  


What do you mean by scala map?

1 Answers  


What is a companion object?

1 Answers  


What is guard in Scala’s for-comprehension construct?

1 Answers  


Please explain closure is scala?

1 Answers  


Write a few frameworks of scala?

1 Answers  


What is the difference between apply and unapply methods in scala?

1 Answers  


What is the result of x+y*z and why?

1 Answers  


What is function currying in Scala?

1 Answers  


Explain the scala anonymous function.

1 Answers  


Like Hibernate for Java-based applications, What are the Popular ORM Frameworks available to use in Play/Scala based applications?

1 Answers  


Categories