Reason: all the data types that can be implicitly converted to int can be used for switch case. Integer is right answer only for java 5 because it allows autoboxing/unboxing. Please correct me if i am wrong
Joined: Sep 30, 2006
You can't use Integer (Wrapper) in statement as a argument.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com