What is final in scala?
Answer / Pradeep Kumar Sonkar
"'Final' in Scala is a keyword used to restrict inheritance. When applied to classes, it means that the class cannot be subclassed; when applied to methods or variables, it means that they cannot be overridden or reassigned respectively."
| Is This Answer Correct ? | 0 Yes | 0 No |
Differentiate between null, nil, none and nothing?
What is Option in Scala? What are Some and None? What is Option/Some/None Design Pattern in Scala?
What is throw in scala?
How does it work under-the-hood, when we create an instance of a Class without using ‘new’ keyword in Scala? When do we go for this approach?
Difference between Scala’s Int and Java’s java.lang.Integer? What is the relationship between Int and RichInt in Scala?
Explain data types in scala?
What is Monad in Scala?
What do you understand by an implicit parameter in scala ?
Mention the difference between an object and a class ?
What is the utilization of tuples in scala?
What is a singleton object in scala?
Explain if-else-if terminology?