Answered step by step
Verified Expert Solution
Question
1 Approved Answer
package app; import java.util.ArrayList; public class Controller { public static void main(String[] args) { // Step1 // Create a variable named data of type Data
package app;
import java.util.ArrayList;
public class Controller {
public static void main(String[] args) { // Step1 // Create a variable named "data" of type Data // YOUR CODE HERE // used the data variable to call the displayInfo method // YOUR CODE HERE //end Step 1
DATE,SP500, GOLD, LIBOR 2019-01-02,2510.03,1287.200, 2.79388 2019-01-03,2447.89,1287.950,2.79500 2019-01-04,2531.94,1290.350,2.80388 2019-01-07,2549.69,1291.500 2.79681 2019-01-08,2574.41,1283.900,2.78250 2019-01-09,2584.96,1281.300,2.79888 2019-01-10,2596.64,1292.400,2.79694 2020-08-07,3351.28,2061.500,0.25250 2020-08-10,3360.47,2030.300,0.25688 2020-08-11,3333.69,1996.600,0.25350 2020-08-12,3380.35,1931.700,0.26475 Console Output of this Step: Data Index Dates SP500 Gold Libor 0 1 2 2019-01-02 2510.03 1287.20 2.7939 2019-01-03 2447.89 1287.95 2.7950 2019-01-04 2531.94 1290.35 2.8039 393 2020-08-05 3327.77 2034.45 0.2420 394 2020-08-06 3349.16 2049.15 0.2433 395 2020-08-07 3351.28 2061.50 0.2525 396 2020-08-10 3360.47 2030.30 0.2569 397 2020-08-11 3333.69 1996.60 0.2535 398 2020-08-12 3380.35 1931.70 0.2648Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started