![]() |
VOOZH | about |
public void clear()Returns Value: This method does not return anything. Below are the examples to illustrate the clear() method. Example 1:
Original ArrayListlist : [A, B, C, D, E] New ArrayList : []
Original ArrayListlist : [10, 20, 30, 40, 50] New ArrayList : []