how we know that the class used in your given examples are predefind and from where we get info. about other predefine classes. we need explanation about examples given by you for java beginners....pls help like below code is given in program of palindrome BufferedReader object = new BufferedReader( new InputStreamReader(System.in)); here what is the work of BufferedReader class and InputStreamReader...... pls tell
BufferedReader class reads the text from the input stream.And InputStreamReader is a bridge from byte streams to character streams.It reads bytes and decodes them into characters. It allow the user to read through the console.