Write a program that reads the contents of the two files into two separate arrays, or ArrayLists. The user should be able to enter a boy’s name, a girl’s name, or both, and the application will display messages indicating whether the names were among the most popular

GirlsNames. Txt- This file contains alist of the 200 most popular names given to girls born in the US for the years 200 through 2009BoysNames. Txt- This file contains alist of the 200 most popular names given to boys born in the US for the years 200 through 2009

Respuesta :

The add and delete actions on the Linked List have a fixed processing time. Therefore, using Linked List is preferable for manipulation.

What two files into two separate arrays, or Array Lists?

If searching is a more frequent operation than add and delete, it is preferable to use an arraylist since it provides constant time for search operations.

Because it is dynamic, Array List is, in essence, more adaptable than a simple native array. When necessary, it can self-grow, which the original array cannot do.

Therefore, In addition, you can remove elements from an array list, which is not possible with native arrays.

Learn more about Array Lists here:

https://brainly.com/question/27768587

#SPJ1

ACCESS MORE