Homework #11 Due On April 4, 2003
Implement an object oriented implementation of a linked list of integers
This one should have a the normal accessors/modifiers, in addition it
should add the following methods:
A) a length() function that returns the total number of nodes in the
linked list (starting at whichever node you call the method on)
B) overload the + operator to take in another instance of your linked
list class which will search for the last instance of your current
linked list, and then attach the linked list passed as an argument to
the + operator to the end. (you can assume that both are valid
and properly ended linked lists)Homework #11 Due On April 4, 2003
Implement an object oriented implementation of a linked list of integers
This one should have a the normal accessors/modifiers, in addition it
should add the following methods:
A) a length() function that returns the total number of nodes in the
linked list (starting at whichever node you call the method on)
B) overload the + operator to take in another instance of your linked
list class which will search for the last instance of your current
linked list, and then attach the linked list passed as an argument to
the + operator to the end. (you can assume that both are valid
and properly ended linked lists)