i have written a java code..
in that i first get the option like enter the choice ....
i get this via getting a char like enter 'y' r 'n'
for this i used inputdatastream class and read method.
within this loop i want to get a name....ie i want to get a string...
when i try to get a string by bufferedreader class and
readline() method i cant get wat i desire...ie in the output the cursor does not wait to get the string ...
wat is the problem????
Can anyone xplain?????internet explorer 6
Post the code !!!
Can anyone xplain?????windows live internet explorer
set an object to have the readline.
set a variable to have the value..
example.
BufferedReader obj=new InputStreamblahblah..
variable=obj.readLine();
also, java is case sensitive. :)
No comments:
Post a Comment