Could anyone please tell me how to Delete two Dimensional array Which i created early or Delete the contents of from specified index and i want to insert some other values in the same index..........
Jump to Post
You can't explicitly "delete" a whole array in Java. Just like any other Java Object it will be thrown away ("garbage collected") when you have finished with it. Java knows you have finished with it when you no longer have any variables that refer to that array.
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.