What are throws in scala?



What are throws in scala?..

Answer / Atul Kumar Pal

"In Scala, the 'throws' keyword is used to specify which exceptions a method may throw. It is used in the method signature."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

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

1 Answers  


What is the breakable method in scala?

1 Answers  


What is a closure?

1 Answers  


How does yield work in scala?

1 Answers  


What does raw method in scala string interpolation?

1 Answers  


What is object in Scala? Is it a singleton object or instance of a class?

1 Answers  


What does set in scala collection?

1 Answers  


What is scala programming used for?

1 Answers  


What do you mean by implicit parameters?

1 Answers  


What is a closure in Scala?

1 Answers  


What is the difference between var and value?

1 Answers  


What is the main motto of Scala Language?

1 Answers  


Categories