Is there a way to check if in BufferedReader object is something to read? Something like C++ cin.peek(). Thanks.
BufferedReader
cin.peek()