i have an arraylist with many elements i want to get some of this elements and put them in another arraylist
when i use array.get()
and then array.add()
it return many errors as nullpointerException and RuntimeException
when i use array.get()
and then array.add()
it return many errors as nullpointerException and RuntimeException