Does Java make distinction between value type and reference type
c#, java, reference-type, value-type
Solution
In Java, all objects and enums are reference types, and all primitives are value types. The distinction between the two is the same as in C# with respect to copy semantics, but you cannot define a new value type in Java.
Problem
C# makes distinction of those two. Does java do the same or differently?