Abstract
Consider writing an application that interacts with the user to build a list of merchandise items. Each item is represented by its name and price (in dollars). Like the pizza applications from the previous chapter, the application must allow the user to read data from a file, write the data to a file, add an item, remove an item, and view the data. In addition, the program must allow the user to revise the name as well as the price of an item. Furthermore, the program must allow the user to rearrange the items on the list in the increasing order of the names or in the increasing order of the prices.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Ogihara, M. (2018). Generic Class Parameters and the Java Collection Framework. In: Fundamentals of Java Programming. Springer, Cham. https://doi.org/10.1007/978-3-319-89491-1_18
Download citation
DOI: https://doi.org/10.1007/978-3-319-89491-1_18
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-89490-4
Online ISBN: 978-3-319-89491-1
eBook Packages: Computer ScienceComputer Science (R0)