This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Yup. For extra confusion, primitive types have a Class object associated with them too - e.g. Class cl = int.class; // So do interfaces, even though they're not technically classes either (but they're a heck of a lot closer than primitives are). The class Class should have been called Type instead, but Sun screwed up.
"I'm not back." - Bill Harding, Twister
subject: How Set Class for Reflection of Method with Param: char