Hi, I have a working program and I need to answer the following questions: 1:where was polymorphism was used in this application? 2:identify where overriding or overloading was used in this application? I belive overriding is used by the Runnable method to override the run() method. Would that be a good explenation? I am not sure how to clearly communicate how polymorphism is used. Any ideas on how to explain it? Thanks /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package treading; /** * * @author Q */ //Runnable …

Member Avatar
Member Avatar
+0 forum 2

okay I have it almost complete with one issue: When the report runs it is suppose to add up the property values for each agent and only display the total value of the properties. like:COMMERICAL FARM LAND RESIDENTIAL 101 600000.00 105 30000.00 106 200000.00 107 1040000.00 110 250000.00 but for some reason when I run the report it is adding the property values up but it is also displaying the 1st value of each agent. like: COMMERCIAL FARM LAND RESIDENTIAL 101:500000.0 101:600000.0 105:30000.0 106:200000.0 107:1000000.0 107:1040000.0 110:250000.0 as can see if you compare to the origional file: 500000.00 101 100000.00 …

Member Avatar
Member Avatar
+0 forum 7

link to old post shows code: http://www.daniweb.com/software-development/java/threads/440001/output-incomplete-text-file program to: A. Develop an application that reads your listings.txt file, analyzes the property listed per agent, and outputs a report to an agentreport.txt file. Your application should do the following: 1. Prompt the user for the name of the input file (listings.txt). 2. Open listings.txt file and read in property listings. 3. Store each property type into a Set. a. Convert property type to upper case before adding to your Set using method(s) from String class. b. Sort your Set of property types alphabetically. 4. Use a Map to calculate total property …

Member Avatar
Member Avatar
+0 forum 8

The End.