Question: Write the JAVA code for a member method that adds new items to the end of a linked list (list nodes hold a character called
Write the JAVA code for a member method that adds new items to the end of a linked list (list nodes hold a character called data). The list is referenced by a pointer called head (defined in the class), so your method needs to make its way through the list to add the new element. Assume the list is capped off with NULL. There is no size other variables in the class definition. Use appropriate naming conventions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
