Create a java project named assessment and a package called

Assignment Help JAVA Programming
Reference no: EM131578871

PART A
1. Create a Java project named Assessment and a package called Assessment.
2. Create a class called BirdArrayList with a main method.
3. In the Main method you are to:
a. Initialise an ArrayList
b. Add 5 bird names to the ArrayList (you can choose the names of the birds, for example Australian King Parrot)
c. Create an input dialog to ask the user to either:
1. Add a bird to the ArrayList
2. Remove an element in the ArrayList
3. Search for an element in the ArrayList
4. Display the ArrayList
5. Quit the program.
d. Call the appropriate method for the entered selection
e. Keep asking the above selection until they quit the program.
4. You will need to create a method named addEntry() which will:
a. Add a new bird name to the ArrayList that has been supplied from an input dialog
b. Display the ArrayList when the new bird name has been added.

You will need to create a method named deleteEntry() that will:
c. Use a sequential search (for loop) to find the bird name to be deleted that has been supplied from an input dialog
d. If the bird name to be deleted is found in the ArrayList, confirm if it is to be deleted and if so, remove the bird name from the ArrayList
e. If not found, display an error message
f. Finally, display the array.
5. You will need to create a method to search the ArrayList.
a. Use a binary search algorithm for the search method which includes a sort function. Do not use the Java.util.Arrays.binarySearch() method, but write the binary search algorithm code.
b. Display the array element and the array index.

6. You will need to create a method to display the elements of an ArrayList.

7. All program code must contain:
a. comments in program code that contain details of the program
b. comments attributing code source where you are not the original code author
c. variables that are written in the lowerCamelCase naming convention, except where loop control variables are used
d. methods with Javadocs comments
e. other comments within methods that explain significant logic or points reached in the logic.
8. When you have completed coding your program, generate Javadoc documentation.

 

 

Reference no: EM131578871

Questions Cloud

Discuss the system''s characteristics : discuss the system's characteristics, its application and use in that society
Natural measure of spread that fixes the given problem : The variance in the previous problem grew by a factor of four when the number of trials grew by a factor of 4, while the spread we observed in our histograms.
Write about the type of system your facility currently uses : Write about the type of system your facility currently uses. Describe whether it's a paper based system, an older model electronic medical record (EMR) system.
Determine if collins was incorrect to begin : how Wells Fargo reported their successes after 2001. Or was it something internal at Wells Fargo that caused the Hedgehog Concept to go awry
Create a java project named assessment and a package called : Create a Java project named Assessment and a package called Assessment - Create a class called BirdArrayList with a main method
Write a paper research about management and leadership : Write a 10 pages paper research about Management and Leadership. How closely management and leadership are connected for maintaining the normal flow?
Differences between deviance and crime : Explain the similarities and differences between deviance and crime, and provide examples
Find variance for the number of heads in one flip of a coin : What is the variance for the number of heads in one flip of a coin? What is the sum of the variances for four independent trials of one flip of a coin?
Define probation : what types of conditions would you set for those who you were supervising? Explain in detail why these conditions are important

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd