Question: Create a file data with diferent names ( ~ 1 0 ) preferably a data.txt file Make each name in to a new line as
Create a file data with diferent names ~ preferably a data.txt file
Make each name in to a new line as follows:
nova
anthony
gabriel
ect.
Then use eclipseIDE and Java code to store the data from the file to an Arraylist.
Then print the array.
As part of week learning, check if the file exists and also check for if there is any data in the file ie names
You can use things like isEmpty or check if the array size is empty.java
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
