1213141516171819202122
// insert integers in list list.insertAtFront( -1 ); list.print(); list.insertAtFront( 0 ); list.print(); list.insertAtBack( 1 ); list.print(); list.insertAtBack( 5 ); list.print(); // remove objects from list; print after each removal
1415161718192021222324
list.print(); list.insertAtFront( 0 ); list.print(); list.insertAtBack( 1 ); list.print(); list.insertAtBack( 5 ); list.print(); // remove objects from list; print after each removal try {