Is there a way to increase the size of an array after its declaration?

By ayush goel in 22 Sep 2023 | 12:41 pm
ayush goel

ayush goel

Student
Posts: 346
Member since: 21 Sep 2023

Is there a way to increase the size of an array after its declaration?

22 Sep 2023 | 12:41 pm
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

 In Java, the size of an array cannot be changed after its declaration. To achieve dynamic sizing, you can use collections like ArrayList, which can grow dynamically.

23 Sep 2023 | 04:04 pm
0 Likes

Report

Please describe about the report short and clearly.