subject

Java: program and pseudocode.
write a program to perform a bird survey to count the number of birds of each species in an area. create a class birdsurvey that is a linked list. the linked list can be one way linked list, circular linked list or a doubly linked list; whichever you choose.
birdsurvey should have the following operations in addition to those normally found in your linked list class:
1. add(bird) – adds the bird species bird to the end of the list, if it is not already there. sets its count to 1;
otherwise, adds 1 to the count for bird.
2. getcount(bird) – returns the count associated with the species bird. if bird is not on the list, returns zero.
3. getreport() – displays the name and count for each bird species on the list.
you will write a program that uses birdsurvey to record the data from a recent bird survey. use a loop to read bird names until done is entered. illustrate the use of each of the methods mentioned above, with the last being a report of all the species of birds entered and the count for each species.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
If you have a lien on your vehicle, you cannot apply for a duplicate copy of your vehicle’s certificate of title. true or false
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
What is the first view you place in your drawing?
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which best describes the role or restriction enzymes in the analysis of edna a. to break dna into fragments that vary in size so they can be sorted and analyzed b. to amplify small amounts of dna and generate large amounts of dna for analysis c. to purify samples of dna obtained from the environment so they can be analyzed d. to sort different sizes of dna fragments into a banding pattern that can be analyzed
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
How are stop motion special effects in animated films created
Answers: 1
You know the right answer?
Java: program and pseudocode.
write a program to perform a bird survey to count the number of...
Questions
question
Chemistry, 26.11.2021 19:10
question
Mathematics, 26.11.2021 19:10
question
Health, 26.11.2021 19:20
question
Mathematics, 26.11.2021 19:20
Questions on the website: 13722359