• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get input values at runtime in java

 
prakash mathew
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to get inputs at run time in java
for example employee details, Arithmetic calculation etc
 
Greg Brannon
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are many answers to the question you've posed. Please provide more info, an example in code is preferred.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12373
40
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!