enable System.out write - Java java.lang

Java examples for java.lang:System

Description

enable System.out write

Demo Code


//package com.java2s;

import java.io.PrintStream;

public class Main {
    public static PrintStream out = System.out;

    public static void enablewrite() {

        System.setOut(out);// www .  j  av  a2s .  c  o  m
    }
}

Related Tutorials