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 How can I prompt for input while executing the program? 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 "How can I prompt for input while executing the program?" Watch "How can I prompt for input while executing the program?" New topic
Author

How can I prompt for input while executing the program?

Jack Higgins
Greenhorn

Joined: Nov 11, 2000
Posts: 6
for e.g., I need to ask something like..
(psuedo syntax)
print("Enter the maximum value?")
Read(Value)
What is the correct java syntax for the "Read" line? What is the datatype of the value that will be read by this line?
TIA for ur help.
Jack Higgins
Greenhorn

Joined: Nov 11, 2000
Posts: 6
yes, can you pl. explain that again? I am looking for specific help in reading integer values in a loop to fill up a matrix. The program prompts the user to enter a value, and then it reads the value.
Thanks
Jack Higgins
Greenhorn

Joined: Nov 11, 2000
Posts: 6
Thanks a lot pal ;-)
I just saw the other message posted by you. If you are around, just stick around. Remember what brought you here, Java. And don't let a bunch of jerks drive you away. I may not be an ace in Java, but your tips certainly helped me, which means you have something in you that is pissing those other two guys off. The only way to beat them is to show them what you are made of!
 
 
subject: How can I prompt for input while executing the program?
 
Similar Threads
Problem with DOMConfigurator.configure("log4j.xml");
Param Value
DOMConfigurator.configure("log4j.xml") error
servlet or jsp page with prefilled forms
Text File Help