Your answer is provided in the API documentation for InputStreamReader: InputStreamReader (Java Platform SE 7 )
And, from the BufferedReader API: BufferedReader (Java Platform SE 7 )
So...
Type: Posts; User: aussiemcgr
Your answer is provided in the API documentation for InputStreamReader: InputStreamReader (Java Platform SE 7 )
And, from the BufferedReader API: BufferedReader (Java Platform SE 7 )
So...
Well, for one, you have a spelling error.
In your second one, this:
}while(ch!='q');
should be this:
}while(ch1!='q');