This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Uhhh... well, I think if you actually try it, you'll have a hard time getting int.getClass() to compile. There is a way to do something like this, but I think it will distract you from the main point - primitive types are not classes, or references, or pointers.
Becareful!!! DO NOT let Roseanne hear you say that!!! You will hear the detailed definition of how references in Java can not be dereferenced etc and therefore are NOT pointers. Perhaps you should join into this conversation. Ahhhh - I see that you already have. [This message has been edited by Cindy Glass (edited October 24, 2001).]
"JavaRanch, where the deer and the Certified play" - David O'Meara