Does the array declaration really need to be inside the try block? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Does the array declaration really need to be inside the try block?

Other than running out of memory, what else might go wrong with declaring a simple fixed array?

29th Jul 2016, 10:21 AM
Adiv Abramson
Adiv Abramson - avatar
2 Respostas
0
Arrays don't need to be in a try block...
29th Jul 2016, 12:10 PM
James
James - avatar
0
The array declaration Normally must be done before the try/catch. But if The exercise call is achieved..
2nd Aug 2016, 4:57 PM
Angelo Spanu
Angelo Spanu - avatar