A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Oct 21, 2000
Aug 27, 2011 18:44:15
i just want to confirm what i read today. assigning an int a value of 0, or an object a value of null when you declare it is redundant.
Joined: May 03, 2008
Aug 27, 2011 21:38:29
That applies to class and instance fields.
to local variables.
There are no new questions, but there may be new answers.
I agree. Here's the link:
subject: variable declarations
Doubt in EL Implicit Objects: Cookie
how to reset the field after validation using annotations(Struts 2)
How to convert the for Loop to the equalent JSTL code in JSP
jsp bean problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014