Science, asked by bikas5072, 1 year ago

Can I use existing Java code from Scala?

Answers

Answered by rockyak4745
0
To know for sure, however, you must use tools like javap .Can I use existing Java code from Scala? Accessing Javaclasses from Scala code is no problem at all. Using a Scalaclass from Java can get tricky, in particular if yourScala class uses advanced features like generics, polymorphic methods, or abstract types.
Similar questions