Write a program that uses an arraylist of parameter type

Assignment Help Basic Computer Science
Reference no: EM13307994

Write a program that uses an ArrayList of parameter type Contact to store a database of contacts. The Contact class should store the contact's first and last name, phone number, and email address. Add appropriate accessor and mutator methods. Your database program should present a menu that allows the user add a contact, display all contacts, search for a specific contact and display it, or search for a specific contact and give the user the option to delete it. The searches should find any contact where an instance variable contains a target search string. For example, if "elmore" is the search target then any contact where the first name, last name, phone number, or email address contains "elmore" should be returned for display or deletion. Use a "for each" loop to iterate through the ArrayList.

Reference no: EM13307994

Previous Q& A

  Compute the magnitude of the acceleration of the elevator

A man stands on a scale in an elevator that is accelerating upward. compute the magnitude of the acceleration of the elevator?

  Find distance required for police officer to overtake car

At the moment when A passes P, the police car begines to accelerate at the constant rate of 6m/s^2 until a speed of 160km/h is achieved, and that speed is then maintained.

  Explain a python program storing and processing simple bank

A Python program storing and processing simple bank records is in the early stages of development. The records are stored in a text file (bank.txt) that contains, for each bank customer, their given name, account number and balance.

  Develop a plan to connect your remote users

Develop a plan to connect your remote users. your solution can involve more than one remote access type.

  Write java non-recursive algorithms and methods to determine

Write java non-recursive algorithms and methods to determine: the number of nodes in a binary tree, the sum of contents of all the nodes in the binary tree, the depth of a binary tree?

  Design combinational circuit that compute 4-bit leading zero

Design a combinational circuit that computes the 4-bit leading zero detecting function. A leading zero detecting function counts the number of zeros in the most significant bits before the first '1'.

  Determine how far up the plane does the ball go

A solid spherical ball of mass 1.3 kg and radius 0.15 m rolls along a smooth, level surface with a speed of 2 m/s. How far up the plane does the ball go

  Find the limiting length of an offset of a point on paper

Find the limiting length of an offset so that the displacement of a point on paper is may not exceed 0.025 centimetres.The offset was laid 3 degree out from it's true direction and the scale was 10m to 1cm.

  Determine how far away from the earth is the spaceship

Two astronauts are, 3.18 m apart in their spaceship, speaking to each other. How far away from the Earth is the spaceship?

  How would structure a portion of an aviation safety program

How would you structure a portion of an Aviation Safety program for a commercial airline or government agency. Briefly describe one or two safety problems and why it is a serious safety problem.

Reviews

Write a Review

 

Similar Q& A

  How many instructions can be executed during waiting period

f the machine is capable of executing ten instructions each microsecond, how many instructions can be executed during this waiting period? Show the details of all calculations.

  A mobile app has to dynamically select an encryption

A mobile app has to dynamically select an encryption algorithm based on security requirements and computing time constraints.

  How the different tasks will play a part in future career.

How the different tasks will play a part in your current position or future career.

  Explain findings-conducting internet search for for cde file

Network asminisrator mentions that other "CDE" files have been sent through the FTP server to another site. Explain your findings after conducting the internet search for "CDE" files.

  8-bit registers are there in the intel 80x86 cpu design

In total, how many 8-bit registers are there in the Intel 80x86 CPU design presented in class? Name one of these 8-bit registers.

  Does technology require a knowledge elite

Does technology require a knowledge "elite"? How does this affect the distribution of resources globally?

  Declare an arraylist named taxrates

Declare an ArrayList named taxRates of five elements of type Double and initialize the elements (starting with the first) to the values 0.10 , 0.15 , 0.21 , 0.28 , 0.31 , respectively.

  Explain implications of copyrights on usage of web site

Study and explain copyright implications associated to Web site development. Write down minimum of 350 words explaining the implications of copyrights on usage of content on Web site.

  Create a new file called testwork

Create a new file called TestWork.scr Change the permissions on this new file to add the execute bit for user, group, and owner.

  Generate the intermediate code

Generate the intermediate code for the following expression assuming the usual rules concerning parentheses, precedence and associativity. Be sure to reuse temporaries as soon as possible: x + (5 - y) * z - 1

  Give the java statement needed

How do you specify that the color orange will be used as fill when using the Graphics class? Give the Java statement needed.

  Performance of computer if main memory speed remains same

Using a faster processor chip result in corresponding increase in performance of computer even if main memory speed remains the same.

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