PART 3Modify your Account superclass so that it is abstract and contains the abstract method, computeSales(). If you added default behavior in the earlier task for computeSales(), remove this default behavior. Leave your implementation of computeSales() in the subclasses as:Supplies = office supplies sold dollar amount + books sold dollar amount + apparel sold dollar amountServices = number of hours * rate per hour.Paper = number of pounds * price per poundUpdate your design document so that the UML class diagrams reflect the abstract class and abstract method.Modify your application so that it polymorphically processes any account objects created. Store each account object created into an array of type Account. For each element in this array, call the computeSales() method and display the results. Use the example of polymorphically processing employee objects in Chapter 10 as inspiration.Test your application and verify your results. Take screenshots to demonstrate that your application works. Intermediate-level Java programming should be demonstrated in your application:There should be implemented constructors for each class.The toString() method should be overridden to provide readable string representation of each object.Getters and setters need to be implemented to enforce data hiding.Code should be fully commented.Program flow should be logical.Behavior should be encapsulated into methods avoiding all encompassing large main() methods.Projects should be developed in NetBeans and zipped prior to submission.Code should compile and run free of exceptions, indicating that debugging tools were used to eliminate any run time errors. Submit the following:Zipped NetBeans projectDesign documentScreenshotsPART 4 HAS TO BESEPERATEIt is time to complete your sales tracker application. Your marketing department would like the current dollar amount of goods sold this year to be calculated. Total of the goods sold is the combined total of supplies, services, and paper sold, for all sales accounts. This information will be used to promote the success of the company.Your application needs to be modified to allow all sales personnel to enter their sales data. For each sales personnel in the company, complete the following:F1: Accept a sales person’s entry for the dollar amount of office supplies sold, books sold, and apparel sold. The sum of these three categories will be the total of their supplies sold. F2: Accept a sales person’s entry for the number of hours of service hours sold and rate per hour.F3: Accept a sales person’s entry for the number of pounds of paper sold and the price per pound.Displays the total current sales to date in all 3 categories for the sales person: supplies, books, and paper.Modify the application to display the total aggregate sales for all sales personnel combined. Example: Total sales for 2010: $12,500,552 Your application will use the Accounts inheritance hierarchy designed previously to compute the total of goods sold. There are three types of sales accounts that track sales for your company: SuppliesServicesPaper. Each has their own formula for computing the current sales:Supplies = office supplies sold dollar amount + books sold dollar amount + apparel sold dollar amountServices = number of hours * rate per hourPaper = number of pounds * price per poundUpdate your design document with these modifications Intermediate-level Java programming should be demonstrated in your application:There should be implemented constructors for each class.The toString() method should be overridden to provide readable string representation of each object.Getters and setters need to be implemented to enforce data hiding.Code should be fully commented.Program flow should be logical.Behavior should be encapsulated into methods avoiding all encompassing large main() methods.Projects should be developed in NetBeans and zipped prior to submission.Code should compile and run free of exceptions, indicating that debugging tools were used to eliminate any run time errors. Preparation for what will be submitted in Discussion Board – Key Assignment Draft:Update your design document with any final changes. Your design document must include at a minimum:Functional requirements.Class diagrams used to describe the system.Description of any design requirements imposed by your technical leadership.Pseudocode for application.Submit the following:Zipped NetBeans projectDesign document
PART 5Your company is ready to market their ability to sell goods. You will need to create a graphic that includes a business logo and a dollar amount of current sales. Your logo must include at least 1 shape, defined by a geometric path, using class GeneralPath, and the name of your business. Although the logo may be a compilation of shapes, including basic shapes provided by the Graphics class (i.e., rectangle, polygon, oval, arc or line), the logo must contain at least 1 shape that is not a basic shape and the name of the business. You want to impress your customers; therefore, your logo will flash on and off at a smooth rate, like a neon sign.Current dollars in goods sold this year should also be displayed in the graphic. Your application will use the Accounts inheritance hierarchy designed previously to compute the total of goods sold. There are 3 types of sales accounts that track sales for your company: supplies, services, and paper. Each sales account has its own formula for computing the current sales:Supplies = office supplies sold dollar amount + books sold dollar amount + apparel sold dollar amount Services = number of hours * rate per hour Paper = number of pounds * price per pound Intermediate-level Java programming should be demonstrated in your application:There should be implemented constructors for each class. The toString() method should be overridden to provide readable string representation of each object. Getters and setters need to be implemented to enforce data hiding. Code should be fully commented. Program flow should be logical. Behavior should be encapsulated into methods avoiding all encompassing large main() methods. Projects should be developed in NetBeans and zipped prior to submission. Code should compile and run free of exceptions, indicating that debugging tools were used to eliminate any run time errors. It is important to keep the design document up-to-date. Please add the pseudocode developed for the drawing of the logo in the Phase 5 Discussion Board to your design document.Submit:Zipped NetBeans project Competency TestThe second part of the key assignment is a competency test that will test you on UML; inheritance and polymorphism; Java API class libraries; Java 2-D graphics with Java API methods, properties, and events; and debugging tools. Answer each question True or False.Java supports multiple inheritance. To say that class B extends from class A is to say that class B inherits from class A. Inheritance, in UML 2.0, is denoted by a solid line drawn from the child class with a closed, unfilled arrowhead pointing to the super class. In the NetBeans debugger, you can set a breakpoint on any line number including comments and nonexecutable statements. To observe how variables change as a program executes, you would watch the call stack using the NetBeans debugger. The step-over command in NetBeans allows you to skip a line in the program from being executed. The GeneralPath class is in the java.awt.geom package. The Font and Color classes are in the java.awt package. Programming to an interface is another term for programming to an implementation. A Concrete class has at least one abstract method. An Interface contains no method implementations. A benefit of inheritance is code reusability. Overridden methods are a form of polymorphism. Overriding the toString() method facilitates printing the current state of an object. Overridden methods cannot have the same name and same signature. A call to the superclass’s constructor, super(), has to be the first line in a subclass’s constructor. In Inheritance, the more general class is the subclass and the more specialized class is the superclass. All classes extend from class Object. You can instantiate an abstract class as long as you have declared all methods as final. Polymorphism is used to make programs easily extensible.




Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.