how to pass input to an java program through keyboard. If java programe is compiled at editplus.

by doing your own homework and not thinking that by sleeping in class, not reading your books, and asking others to do your assignments for you you can learn something.

Any book on Java, any tutorial that covers command line programs (which will be most of all beginners' tutorials), any teacher in his classroom, will cover that.

The System class has all you need.

respected sir/madam
sorry to say that am not asking for any homework.
am an employ working in non it sector. and am trying to lear some thing wich is possible from my side.
i learend java.
am not asking about how to pass argument.
am asking how work that at editplus.
since i know only how to compile and run java at editplus but i don't no how to send values to the java program through keyboard.

ples........ if possible help me to learn.
thx for replaying

respected sir/madam
sorry to say that am not asking for any homework.
am an employ working in non it sector. and am trying to lear some thing wich is possible from my side.
i learend java.
am not asking about how to pass argument.
am asking how work that at editplus.
since i know only how to compile and run java at editplus but i don't no how to send values to the java program through keyboard.

ples........ if possible help me to learn.
thx for replaying

I don't understand what you are trying to accomplish, can you elaborate alittle more on passing values through keyboard?

I assume you are asking how to read user inputs at run time???

yes, that's what it wants.
And it can get that information from any tutorial or introductory text, but it is apparently too lazy to do its own research and wants us to do it for it.

you can do this by unselecting the "save capture output" option in the "configure user tools option" for the "run java(java.exe)" command in editplus, this will open a normal CLI window when you execute the command and you can pass the CLI inputs in that window , however the output will not be displayed in the output pane of the editor , instead it will appear in the CLI window.

This article has been dead for over six months. Start a new discussion instead.