InterviewSolution
Saved Bookmarks
| 1. |
Which method among the following returns the integer if no character is available?(a) int peek()(b) int read()(c) string ReadLine()(d) none of the mentioned |
|
Answer» The correct choice is (a) int peek() The best explanation: Obtains the next character from the input stream, but does not remove that character. Returns –1 if no character is available. |
|