Skip to content

Eliaprogrammer/OOP---Project-5--Word-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

OOP---Project-5--Word-Application

Elia Schwartz, June 5, 2025, COP 3330C - 33777

Using the Java Collections framework, students will learn how to use it to control and access data. This program attempts to get eight individual words from the user, then input those values into an ArrayList while manipulating how it is organized and displayed to the console.

The application does the following:

  1. The application checks that the user has not entered a duplicate word before adding it to the ArrayList.
  2. Displays the ArrayList contents in the order the user entered them.
  3. Output the size of the list.
  4. Displays the longest and shortest words in the list.
  5. Utilizing the Collection Framework, call the sort method to organize the words in alphabetical order.
  6. List the words from longest to shortest.
  7. Using the shuffle method from the Collection Framework, change the order of the words that are output.
  8. Search for a particular word in the list with a for loop.
  9. Binary search in the Collection class for faster location of a word.
  10. Convert an ArrayList to an array and vice versa.
  11. Fill the entire list with another word.

About

Using the Java Collection Framework with words from user input

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages