Removing/append an object to an array

edited November 2017 in Programming Questions

Hello, Is there a more efficient way to **append an object/remove an object ** to an array than :

I have a class letter and I want to append a new letter to the array list_l.

list_l = (letter[]) append(list_l,b);

and

I want to remove the first element but the function subset copy the array so it's slow.

list_l = (letter[]) subset(list_l,1);

Thanks

Answers

Sign In or Register to comment.