This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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.
 
Have you checked out Aspose?
 
subject: console problem
 
It's not a secret anymore!