Firstly, how do we exit from a function(not the program) expllicitly from anywhere inside the function? for e.g. in VB we simply write Exit Sub;
And secondly, if i have an array created using:
String arr[][] = new String[100][5];
and all its elements initialized to 0..if in the same program i re-initialize it like arr = new String[1][1], so this way i'll be releasing memory rite? (given that theres no "delete" keyword in java)
2007-03-21
19:34:27
·
3 answers
·
asked by
kenshin
3
in
Computers & Internet
➔ Programming & Design