Search:

Type: Posts; User: jps

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    1,592

    Re: help me to save file with io

    I didn't give you the code to use. I told you what your code is doing and gave you a link to the method you are using. That method is removing your new line character. -Either stop removing it, or...
  2. Replies
    4
    Views
    1,592

    Re: help me to save file with io

    String demo1[]=demo.split("\n"); is removing your new line characters. Either stop removing them or put them back in.
    System.out.println(/*demo1[0]+*/" :- "+ch); Where is the variable ch defined?...
Results 1 to 2 of 2