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 22:30
Provide an example of a project that combines the three principles of lean six sigma with business project management (bpm) and services oriented architecture (soa). identify the elements of the project that comply with each of three principles.
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
You know the right answer?
Java: program and pseudocode.
write a program to perform a bird survey to count the number of...
Questions