Question: Create the following menu:use java language 1. Add a new node at the end of LL 2. Delete a node from the beginning of LL

Create the following menu:use java language

1. Add a new node at the end of LL

2. Delete a node from the beginning of LL

3. Print all data in the LL

4. Exit

Important notes: 1. write the methods by yourself. DONT use the library in Java.

2. The user should insert all data even in the first node (head)

3. The menu should be repeated each time until the user enter 4 (exit) .

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!