my dog learned polymorphism*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: console problem
 
Similar Threads
Having interesting Syntax problem
NPE from K&B example SCJP6
Help with Applet
sockets and printwriting
Reading a file and storing its contents into a String Array