A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
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 convert the for Loop to the equalent JSTL code in JSP
how to reset the field after validation using annotations(Struts 2)
jsp bean problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015