Java Console reader() MethodThe reader() method of Java Console class is used to retrieve the unique Reader object associated with this console. SyntaxParametersNA Return value:This method returns the reader associated with this console. Example 1Output: javaC Example 2Output: Java is an Object Oriented
Next TopicJava Console Class
|