Question: translate this into java code : This class contains the main method. Create a Scanner to read in data from the terminal Request and read
translate this into java code :
This class contains the main method.
Create a Scanner to read in data from the terminal
Request and read in the name of the portfolio.
Request and read n a seed.
Create a Portfolio object with the portfolio name and seed.
Call initializePortfolio for the Portfolio object.
Request and read in the number of months to model.
Call modelPortfolio for the Portfolio object with the number of months.
Call generatePortfolioReport for the Portfolio object with the number of months.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
