Rob Prime wrote:Which ones can you think of yourself, besides using Scanner? Note that most solutions use System.in, but that's not the only way to get input from the console.
I'm assuming you don't want to list the infinity ways to do this in a user interface?
Thanks for your answer Rob Prime: As you say i do not want infinity ways of doing that but just want 2 or three other ways to do this , if i am using Scanner that means i can get input from user by
String , int , float , double , long , char , it means that i can get input using all the data types . but i know there may be still some other ways to get input in JAVA 6 .
so please can you specify some of them for me without scanner .
Regards
Muzafar.