yes data file will contain the same line each time. But when i do
String name = myString[0];
System.out.println(name);
it print out multiple lines from...
Type: Posts; User: aznprdgy
yes data file will contain the same line each time. But when i do
String name = myString[0];
System.out.println(name);
it print out multiple lines from...
import java.util.Scanner;
import java.io.*;
public class mess
{
public static void main(String[] args) throws Exception
{
String linRead,...
ok my problem is that the class file i made is reading from a file called "data.dat" which looks like the following
DATA.DAT
Maximizor,50,50
Robinator,50,50
Rocket Launcher,20,10
Sniper...