File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes how to output all char value? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "how to output all char value? " Watch "how to output all char value? " New topic

how to output all char value?

dx wu
Ranch Hand

Joined: Apr 28, 2002
Posts: 60
I design following code to output all char value,but it output a lot of symbol ?

good good study , day day up!
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
That's because most of the char values are symbols.
You will only see them properly if you output them to a suitable device using a suitable device driver. Some are control characters like escape, carriage-control, linefeed, et c. and some of them do not have a visible effect - for example BEL.
[ October 01, 2004: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: how to output all char value?
It's not a secret anymore!