Input/ output file
Hi every one
am new in java , am just try to TEACH myself by books and so on. I faced this problem yesterday .. Can any one tell how i can read file its content like this :
i wanna read each column alone.
PS || i tried the array .. but i dunno how i have to determine its size .
Originally Posted by 3MAD
suppose you read the file with the content above line by line. when a line is readed you could use the method split(" ") to split the numbers with this example
String numbers = line.split(" ");
and use an arraylist instead of array. try and post your code that make troubles ....