Results 1 to 2 of 2
Thread: Taking input from use
- 11-08-2011, 02:31 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 16
- Rep Power
- 0
Taking input from use
Hi,
I am new to Java. I want to take input from user/console.. for example if I am coding as
System.out.print("Enter Name");
I will get output as Enter Name and I need to enter my name. I need to know how can I do the coding for that in which I can feed the details both numeric or character.
Kindly help me.
- 11-08-2011, 02:33 PM #2
Re: Taking input from use
Sounds like a job for the Scanner class. The API is your friend.
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
Similar Threads
-
Taking user input as a date and validation!
By Junki3JJC in forum New To JavaReplies: 3Last Post: 03-29-2011, 01:28 PM -
Problem with taking input and printing it.
By equal in forum New To JavaReplies: 3Last Post: 11-11-2010, 10:02 PM -
Taking args consisting of a scanner input
By Implode in forum New To JavaReplies: 1Last Post: 09-27-2009, 09:16 PM -
Taking input from Properties File
By bugger in forum New To JavaReplies: 4Last Post: 05-07-2008, 09:30 AM -
Taking input from console
By Java Tip in forum Java TipReplies: 0Last Post: 11-05-2007, 04:47 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks