Java programming

Write a class program named Fixedlnvestment that contains: A double data field named depositAmount that specifies the investment amount (default 200). A double data field named annuallnterestRate that specifies the fixed interest rate (default 5.0%) An int data field named numberOfYears that specifies the investment duration (default 1) A no-arg constructor that set the default values for the data fields A constructor with parameters that set certain value for the data fields The accessor methods for depositAmount, numberOfYears and annuallnterestRate A method named getTotalRetum() that returns the investment return after the specified number of years. The total return can be computed using the following formula: totalReturn= investmentAmount x annuallnterestRate x numberOfYears • A toString() method to display the value of all the data fields in the class Then, write a program that has the main() method to test the object of the above class with a deposit amount of 10000 and an annual interest rate of 4.5% for three years. Display the total return after three years.