File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes console problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "console problem" Watch "console problem" New topic
Author

console problem

H. Ali
Greenhorn

Joined: Feb 25, 2011
Posts: 21
hi

when we say something like this


well what's with the formatting???
we use formatting when we are printing something to the output!
why are we formatting what we are reading and how come that's possible!!!
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
This version of Console.readLine() does not format what it is reading. It formats a user prompt and then returns what the user entered. This is explained in the documentation.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: console problem