Reader.java: import java.io.*; class Bufferedreader { public static void main(String args[]) throws IOException { String s="This is a © copywrite symbol but this is © not.\n"; char b[]=new char[s.length()]; s.getChars(0,s.length(),b,0); BufferedReader f=new BufferedReader(b); int c; while((c=f.read())!=-1) { System.out.print((char)c); } } }Have Fun.........
Related Posts
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.
Click to see the code!
To insert emoticon you must added at least one space before the code.