Question: Open Book 5) Write a java program to do the following: (40) Create a file stock.txt with the following information: IBM, International Business Machines Corporation,

Open Book 5) Write a java program to do the following: (40) Create a file stock.txt with the following information: IBM, International Business Machines Corporation, 144.84, 5/2/2016 AAPL, Apple Inc., 92.63, 5/2/2016 ORCL, Oracle Corporation, 45.96, 4/26/2018 CSCo, Cisco Systems, 44.21, 4/26/2018 Create a java class "Stock" with the following fields: o Symbol o Name o Price o date Write a program to read data from the file stock.txt. for each line of data create an object of Stock class and store them in 1) ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
