By bloid
via alblue.blogspot.com
Published: Oct 29 2007 / 16:35
In the previous post, I discussed functions in Scala. There's a lot more power and flexibility to come, but for now let's expose a little at a time. In this post, we'll look at the way in which we can integrate with Java objects.
Given that Scala runs inside a JVM, it's possible to interact with Java's types. For example, we can pull a list of system properties trivially in Scala by using the same code as we could in Java
SaveShareSend
Tags: java, other languages
Add your comment