0
Java array initialization
I've been told that declaring variables in the top of the code and to initialize them later when needed is good practice and improves readability. Is this true and if so, does it also hold for arrays?
2 Answers
+ 1
yes.. It is good practice. Do it
0
and yes, arrays as well