tailieunhanh - A Guide To Advanced Java - Java.lang Package
The Ohio Blood Center (OBC) was formed in 1979 and collects and distributes more than 100,000 units of blood and plasma annually. The non-profit organization serves more than 40 hospitals in nearly 35 countries throughout Lowa, Pennsylvania, and Rhode Island. To achieve its long-term growth objectives, OBC’s management team knew, it had to streamline business processes by incorporating a sales management system. This system will track all the blood bookings, the stock information, sales statistics, and counter details. Consider you to be a part of the team that implements the solution for designing the application. . | A Guide To Advanced Java Assignments Package S No. Assignment Question 1 The Ohio Blood Center OBC was formed in 1979 and collects and distributes more than 100 000 units of blood and plasma annually. The non-profit organization serves more than 40 hospitals in nearly 35 countries throughout Lowa Pennsylvania and Rhode Island. To achieve its long-term growth objectives OBC s management team knew it had to streamline business processes by incorporating a sales management system. This system will track all the blood bookings the stock information sales statistics and counter details. Consider you to be a part of the team that implements the solution for designing the application. Create an application in Java which can be used to track the blood booking and sales tracking in three different counters of the blood bank. The three different counters are Counter 1 Counter 2 and Counter 3 that sells different groups of blood. The price for blood at different counters varies accordingly. The application consists of two classes the first class is the base class BloodReservoir that stores all the information about the cost of blood per unit and units of blood sold. The setter methods of this class set the value for cost per unit and total units sold. The getter methods return the sales price and the whole income of each counter that supplies blood units. The second class BloodReservoirTest is the derived class that extends the BloodReservoir class. This class uses the Math and Wrapper classes to calculate and process the information. This is the main class where three counters are created as the instances of the base class. The application initially prompts the user to enter the total volume of blood stored in the blood bank. Once the user enters the amount it again prompts for additional volume stored for emergency purpose. Next the application inquires about the prices of blood per unit for three different counters. Once the application takes in all the above .
đang nạp các trang xem trước