Search:

Type: Posts; User: rrahulvverma

Search: Search took 0.16 seconds.

  1. Replies
    6
    Views
    2,876

    Re: PrintStream not printing in file

    i think that should not be the reason for the EOFException. There seems no way printing of some variable would cause EOF.
    EOF should happen only when we are reading.

    That, anyways, is not helping...
  2. Replies
    6
    Views
    2,876

    Re: PrintStream not printing in file

    Thanks! :)
    But actually the thing is, i know there are other options to use, but i just wanted to know what the problem was with PrintStream here...may be some hidden concept i am overooking..
  3. Replies
    6
    Views
    2,876

    PrintStream not printing in file

    I have this program to write into a file. I have a problem with my PrintStream


    public static void main(String[] args) throws Exception {
    int i;
    DataOutputStream out = new...
Results 1 to 3 of 3