Standard I/OC++ makes use of the cin identifier and the >> operator to read keyboard input. Java uses a static instance of the InputStream class named System.in to do the same thing. C++ uses the cout identifier with the << operator to write data to the console. Java uses a static instance of the PrintStream class named System.out to represent the standard output stream. Java does not use either the << or >> operators for I/O functions but does use these symbols to represent bitwise shift operators. |