Java wrapper classes. Casting
Is there a n开发者_开发问答ame for when you convert a primitive to an object using wrapper classes? Im assuming this is also called casting correct?
This is called autoboxing. E.g.
Integer i = 5; // i is an object but has a primitive value.
精彩评论