CODE IN JAVA
Write a program that uses
an ArrayList to store a database of
words.
Add appropriate accessor and mutator methods.
Your database program should present a menu that allows the user
to add a term, delete a
term, display all
terms, search for a specific term,
or search for a specific term and give the user the
option to delete it.
For example, if “Legacy” is the search target, then the term should
be displayed or deleted.
Use the “foreach” loop to iterate through
the ArrayList.
輸入
輸出
範例說明
限制
CODE IN JAVA Write a program that uses an ArrayList to store a database of words. Add appropriate accessor and mutator m
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am