This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
Hi All, as we know in Java all the instance variable are initialized to there default values and so on... Now we can see at many places instance variable being given some default values for e.g. protected Object myObject = null;
Now my question is the above mentioned way of programming is a good programming practice or it has some other meaning too.
posted 8 years ago
As not all programmers can remember the default values, then explicitly assigning values makes the code easier to read.