Tell me some features which are supported by Java, but not by Scala and Vice versa?
Answer Posted / 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 |
Post New Answer View All Answers