> In Java, every custom type is a reference type.
I'm not sure this is true in the actual native code produced by the JIT. HotSpot does autobox elimination.
I'm not sure this is true in the actual native code produced by the JIT. HotSpot does autobox elimination.