Search:

Type: Posts; User: dicdic

Search: Search took 0.20 seconds.

  1. Re: How to open files when in classes instead of the main code.

    ahahahah :D sorry man, I'm not good in english :)

    but what do you mean by this?:
  2. Re: How to open files when in classes instead of the main code.

    you better read the doc for the class your not sure of
    java.io.File Files (Java Platform SE 7 )

    To make it short, File class is not capable of reading and writing from and to files.
    I think it...
  3. Re: How to open files when in classes instead of the main code.

    I think they are called Object Reference Variable, the variable that points to the object created as a way of accessing them.
    FileWriter, PrintWriter and other classes in java are Objects, and the...
  4. Re: How to open files when in classes instead of the main code.

    public FileDisplay(String Name_file) throws IOException
    {
    filename=Name_file;

    //Open the output file
    new FileWriter(filename);

    //Open the input file
    new File("Results.txt");...
Results 1 to 4 of 4