A journal of Programming, Technology and Management notes
Thursday, September 12, 2013
Long vs long
If you are using Long for variable that cannot be null, its best to use the type long instead of Long
That way you do not need to check for null
Only use wrapper classes when you need to support the concept of undefined
No comments:
Post a Comment