Create a new manager class

Assignment Help Database Management System
Reference no: EM13336783

Create a new package called task04. Copy your classes from package task03 into this package. Create a new class: Manager class.

Manager class

Create a Manager class. In the Manager class create an instance variable which is an ArrayList of at least five objects. Create methods to:

1. add an object to the end of the ArrayListof objects

2. display all objects in the ArrayListof objects (output the ArrayListto the screen usingtoString on each object)

3. display a particular object retrieved from the ArrayListbased on particular criteria. Write a method that will return a particular object. The method has a String parameter which corresponds to a name or something identifying the object. It should search the ArrayListone element at a time. If it finds the object whose name corresponds with the String parameter it should return a reference to that object from the ArrayList and also output a message informing the user of the location where this object was found (e.g. the list position). If it searches all of the elements and cannot find the name it should return null and output the position as -1.

4. delete an object from the ArrayList.

5. Test your manager class with appropriate test data in your main method. Provide screen shots of your testing in your final report.

Reference no: EM13336783

Questions Cloud

Evaluate the molar solubilty of baco3 : Calculate the molar solubilty of BaCO3 in a 0.10 M solution of Na2CO2 (aq). Ksp (BaCO3) = 8.1 x 10^-9
Create a class called testsystem : Create a class called TestSystem and write atest method which tests your system using a scenario. In your report document, describe the testing scenario and the expected behaviour of your system. Provide screen shots of your system testing in your..
What is the wavelength of the third harmonic of vibration : A wire 4 m long and with a mass of 0.5 g is under a tension of 112N. It is made out of the material aluminum. (a)What is the speed of transverse waves in the wire
Compute the ph of a solution prepared by adding hcl : Calculate the pH of a solution prepared by adding 20.0 mL of 0.100 M HCl to 80.0 mL of a buffer that is comprised of 0.25 M NH3 and 0.25 M NH4Cl. Kb of NH3 = 1.8 x 10-5.
Create a new manager class : Create a new package called task04. Copy your classes from package task03 into this package. Create a new class: Manager class.
What is the electric field strength at distance from nucleus : The neutral hydrogen atom in its normal state behaves in some respects like an electric charge distribution which consists of a point charge of magnitude +e surrounded by a distribution of negative charge
What is the accelertation of the object : Two forces act on a 6.5 kg object sitting on friction-less horizontal surface and force is 25N in the(+) x-direction and the other is 35N in the (-)x-direction. What is the accelertation of the object
Explain new objects based on extending other objects : One of the new classes must be based on a reference extending an existing class from package task02 directly(similar to how Customer extends Person in the sample code).Do not repeat that package task02 class in the task03 package.
Explain the ph of a solution prepared by mixing : What is the pH of a solution prepared by mixing 100 ml of 0.0500 M HCL with 300ml of 0.500 M HF? Ka(HF) = 7.1 x 10^-4

Reviews

Write a Review

Database Management System Questions & Answers

  Define security threats as it relate to the operating system

Discuss security threats as it relate to the Operating Systems and Memory Management. Consider a fixed partitioning scheme with equal-size partitions of 2 16 bytes and a total main memory size of 2^24 bytes. A process table is maintained that inc..

  Electronic spreadsheets in data modeling

Explain in detail with supporting illustrations the six stages of the problem solving process and explain when the choice for using electronic spreadsheets is the preferred tool of choice.

  Describing the select statement

Data processing needs taking or receiving the data from a source and doing something with it. The same can be said about the transaction processing. When working along with a file, whether it be a fixed length.

  Write select statement that returns two columns

Write a SELECT statement that returns two columns: VendorName and PaymentSum, where PaymentSum is the sum of the PaymentTotal column.

  Make a report that identifies the most expensive bicycles

Prepare a report that identifies the five most expensive bicycles. The report should list the bicycles in descending order from most expensive to lsit expensive, the quantity on hand for each, and the mark up percentage for each.

  Design an er diagram to capture the given requirements

Design an ER diagram to capture the requirements. State any assumptions you have that affects your design and three-level schema architecture for the Gyan Gurukul Company that provide better security also design a data abstraction for his client ka..

  Assume the data warehousing system is centralized

Assume the data warehousing system is centralized, and implemented in the environment of Microsoft SQL Server 2012. As we discussed in the introduction, each store has its own local database.

  Write problems and issues related with internet databases

Write down some of problems and issues related with internet databases? Consider security, performance, architecture issues.

  Database server management

Design an Entity model and construct a set of tables with suitably defined columns to support this scenario and find details of all books stocked in London

  describe capability of Good Eat Enterprise Resource Planning

This system will also provide administrators with the ability to create custom reports and filter data based upon a wide variety of information captured from each store.

  Based on the schema write sql statements

Based on the schema write SQL statements and provide the equivalent relational algebra expressions - relational algebra expressions return and give the equivalent SQL statements.

  Database management systems

An automotive service center or dealer wants to improve its services by using database management systems (DBMS) and data mining. What tables are needed in such a database and how could it help improve their services?

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