>> Friday, April 22, 2011
When ever data need to be transferred then a user need to have the address of the source and the address of the destination. To get the address of the source or destination , a user can make use of some of the Stream classes.
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
InputStreamReader Class will return the address of the standard input device and this class takes an argument as System.in
System is a class which contains a static variable in which represents the standard input device like keyboard.
BufferedReader class Object expects the object of InputStreamReader class as an argument which contains the address of the input device.