[JAVA]Deleting Array Elements - Programming (C#, C++, JAVA, VB, .NET etc.) - Neowin Forums

[JAVA]Deleting Array Elements - Programming (C#, C++, JAVA, VB, .NET etc.) - Neowin Forums

瀏覽:1343
日期:2024-05-15
If you're using an array with a set size like String[5], then you cannot delete an element and expect the array to have a length of 4. Setting an array element to null in this case just assigns that array element to have a null value. This could cause pro...看更多