Welcome to AssignmentCache!

PRG/421 Week 4 Java 4.13 LAB: Grocery shopping list (LinkedList)

Availability: In stock

$7.00

Quick Overview

PRG/421 Week 4 Java 4.13 LAB: Grocery shopping list (LinkedList)


Given a ListItem class, complete the main() using the built-in LinkedList type to create a linked list called shoppingList. The program should read items from input (ending with -1), adding each item to shoppingList, and output each item in shoppingList using the printNodeData() method.


Ex. If the input is
milk
bread
eggs
waffles
cereal
-1


the output is
milk
bread
eggs
waffles
cereal

PRG421 Week 4 Java 4.13 LAB Grocery shopping list (LinkedList)

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

  • PRG421 Week 4 Java 4.13 LAB Grocery shopping list (LinkedList)
$7.00

Details

PRG/421 Week 4 Java 4.13 LAB: Grocery shopping list (LinkedList)

Given a ListItem class, complete the main() using the built-in LinkedList type to create a linked list called shoppingList. The program should read items from input (ending with -1), adding each item to shoppingList, and output each item in shoppingList using the printNodeData() method.

Ex. If the input is
milk
bread
eggs
waffles
cereal
-1

the output is
milk
bread
eggs
waffles
cereal

Additional Information

Special Price $3.00

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.

[profiler]
Memory usage: real: 18087936, emalloc: 17889000
Code ProfilerTimeCntEmallocRealMem