Question: Please answer the below question in Java, thank you. Question 13 Some service fees % of asset amount) of two investment companies are shown in

 Please answer the below question in Java, thank you. Question 13

Please answer the below question in Java, thank you.

Question 13 Some service fees % of asset amount) of two investment companies are shown in the following tables: Company A: Fee 1.5 Service Fee Type Management Fee Subscription Fee Redemption Fee 5.0 Company B: Fee Service Fee Type Platform Fee Management Fee 0.2 1.0 2.0 Subscription Fee The above information is to be stored in two maps (Map) referenced by companyA and company for Company A and Company B respectively. The service fee type is med to be unique in each map and it is the key of it. (a) Write a program segment to store the above information of Company A in a map companyA. Remember to create it first. [4 marks) (b) Assume that there are many entries in the map referenced by companyA. Using an enhanced for loop and an array, write a program segment to store the number of service fee types in each fee category using an element of the array. The fee categories are "fee 1.0" [6 marks) (c) Assume there are many entries in the maps and one company can have some service foc types not available in the other company. Write a program segment with an enhanced for loop to print out the name of each service fee available in both of the companies (A and B) and its lowest fee. For example, the string "Subscription Fee, 2.0" is printed when we are considering "Subscription Fee

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!