Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thanks for this detailed answer. You explained how a Scala Int can't be null. Given the Scala method: def f(x: Int): java.lang.Integer and a Java method, public static int g, is true that f( g ) will never return null? Commented Feb 28, 2015 at 15:36
  • java.lang.Integer is a class, so it can be null. Commented Feb 28, 2015 at 17:24
  • Yes, it does. Sorry for the delay. Thanks for your help on all of my questions. Commented Mar 17, 2015 at 17:27