Tell me some features which are supported by Java, but not by Scala and Vice versa?
Answer / Mandeep Kumar Srivastava
Java supports multithreading with the 'synchronized' keyword, while Scala uses the 'akka' library for concurrent programming. Java also has the 'final' keyword to restrict a variable or method from being overridden, which is not directly supported in Scala.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is file handling in scala?
What are the popular MVC frameworks for Scala Language to develop Web Applications?
What is a singleton object in scala?
Explain traits in scala.
What are the differences between Array and ArrayBuffer in Scala?
What are the advantages of Play/Scala stack to develop web applications?
List types of identifiers available in scala?
What’s performing currying in Scala?
Like Java’s java.lang.Object class, what is the super class of all classes in Scala?
What is default access modifier in Scala?Does Scala have 'public' keyword?
What is the utilization of tuples in scala?
What is a ‘Scala set’? What are methods through which operation sets are expressed?