This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
you should refer K&B6 page 252 you will get the answer
you directly doesnt cast int ------>Integer--------->Long This is worng.
but you can do int--------->object--------->then cast it into Long This can be possible.
It doesn't matter if you win by an inch or a mile; winning's winning.