Java System console() MethodThe console() method of Java System class returns Console object only if any Console objected is associated with the java virtual machine. SyntaxReturns
Example 1Test it NowOutput: Console is not supported Example 2Test it NowOutput: Console is null
Next TopicJava System
|