0

Array Size Java

Why is it necessary to define the size of an array while declaring it

2nd Sep 2020, 11:55 AM
anshu kulshrestha
anshu kulshrestha - avatar
1 Resposta
0
Because when you define an array or anything like variables!!, jdk will reserve memory!!! In result you should make it clear !! How much you need . I hope u got your answer ;))
4th Dec 2020, 7:24 AM
Armin Akhavan
Armin Akhavan - avatar