This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
In the first instance writing literal value in your code will result in the values being an int. If you don't want this, signal that you don't, like this:
(just to make it clear, that is a lower-case L after the int value)
In the second case, primitive values cannot be null, so there is only really one method that can be called, i.e. the one that takes an Object as a parameter. [ September 26, 2006: Message edited by: Paul Sturrock ]