public static synchronized void releaseOut(){
  outCnt--;
  if (outCnt == 0)   System.setOut(sysOut);
}

public static synchronized void releaseOut ( ) { outCnt -- ; if ( outCnt == 0 ) System . setOut ( sysOut ) ; }
releases standard out . if there are no more acquired standard outs , then it is reset to its original value .
