0

I have numbers inside of .text and i wanna introduce in an array with java. how i can do?

Java and arrays

11th Feb 2020, 7:08 AM
J endless
J endless - avatar
2 Answers
+ 2
Use FileReader to read file. After reading file get value stored in file. Get Here to check How to read file http://tutorials.jenkov.com/java-io/filereader.html
11th Feb 2020, 7:10 AM
A͢J
A͢J - avatar
+ 2
There are a lot of ways to do that. You can do it using- 1) Scanner class 2) FileReader 3) BufferedReader 4) Byte Streams
11th Feb 2020, 8:19 AM
Avinesh
Avinesh - avatar