Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
My problem is that while writing to a text file I want to skip to a new line after some text. In place of newline characters it is printing small boxes[a sign that it doesnt recognize new line] The code is: import java.io.*; public class CharFileIOApp { public static void main(String args[]) throws IOException { I want the output of this to be like this: This is a test. But I am getting the output as: This is a test. It will help to increase ur aptitude
|
Sponsored Links
|