subject

Anew class is proposed to collect information about a group of dvds. a separate class containing information about a single dvd, named dvd, has already been created. which of the following is the best design to store the data and size of this collection?

a) have an arraylist of dvds and use its size as the size of the collection.
b) have an arraylist of dvds and an integer representing the number of dvds in the collection.
c) have an array of dvds and use its size as the size of the collection.
d) have a single dvd variable representing the last dvd added and an integer representing the number of dvds in the collection.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:50
A911 dispatcher is the sole sender of messages to all police officers. while on patrol, officers communicate with the dispatcher who, in turn, relays messages to other officers. the officers do not communicate directly with one another. this illustrates a network.
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
One of your customers wants you to build a personal server that he can use in his home. one of his concerns is making sure he has at least one backup of their data stored on the server in the event that a disk fails. you have decided to back up his data using raid. since this server is for personal use only, the customer wants to keep costs down. therefore, he would like to keep the number of drives to a minimum. which of the following raid systems would best meet the customer's specifications? a. raid 0 b. raid 1 c. raid 5 d. raid 10
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
question
Computers and Technology, 23.06.2019 01:20
Me with this program in c++ ! computers represent color by combining sub-colors red, green, and blue (rgb). each sub-color's value can range from 0 to 255. thus (255, 0, 0) is bright red. (130, 0, 130) is a medium purple. (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (in other word, equal amounts of red, green, blue yield gray).given values for red, green, and blue, remove the gray part. ex: if the input is 130 50 130, the output is: 80 0 80. thus, find the smallest value, and then subtract it from all three values, thus removing the gray.
Answers: 3
You know the right answer?
Anew class is proposed to collect information about a group of dvds. a separate class containing inf...
Questions
question
Mathematics, 26.04.2021 02:20
question
Mathematics, 26.04.2021 02:20
question
Mathematics, 26.04.2021 02:20
question
Mathematics, 26.04.2021 02:20
Questions on the website: 13722362