This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes how to get input values at runtime in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to get input values at runtime in java" Watch "how to get input values at runtime in java" New topic
Author

how to get input values at runtime in java

prakash mathew
Greenhorn

Joined: Mar 08, 2012
Posts: 2
How to get inputs at run time in java
for example employee details, Arithmetic calculation etc
Greg Brannon
Bartender

Joined: Oct 24, 2010
Posts: 557
There are many answers to the question you've posed. Please provide more info, an example in code is preferred.


Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11246
    
  16

you can get input from the command line, read from a file, read from a database, open a socket connection, display a pop-up window, connect to a piece of hardware (scanner, volt meter, etc.)

Can you narrow your question a bit?


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to get input values at runtime in java