Java System setOut() MethodThe setOut() method of Java System class is used to reassign the standard output stream. Syntax:Parameters:out - new standard output stream. Throws:SecurityException: This exception will throw if security manager exists and its checkPermission method doesn't allow reassigning of the standard outputstream. ExampleOutput: file exist = true Next TopicJava-system-setproperties-method |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India