Java: Develop into a program that includes a linked list.
Include UML diagrams of the classes you will code, including the
one with main:
If you’ve ever been to an American wedding reception or prom,
you probably saw or participated in a Conga Line. This is a line
dance where one person is at the head and as they dance around the
room, other dancers join up by holding on to the hips of the person
in front of them. This is definitely a linked list! Simulate a
Conga Line with Dancer objects in a linked list with a list header
that knows the first and last dancers in the line. Add dancers to
the line, with each being added to the end of the line. Make sure
Dancer has a toString() method so you can print the line and see
that the order is correct.
Java: Develop into a program that includes a linked list. Include UML diagrams of the classes you will code, including t
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am