question: public void write ( int c ) throws java . io . IOException { synchronized ( lock ) { char oneCharArray [ ] = new char [ 1 ] ; oneCharArray [ 0 ] = ( char ) c ; write ( oneCharArray ) ; } }
target:  Write a single character. The character to be written is contained in the 16 low-order bits of the given integer value; the 16 high-order bits are ignored. Subclasses that intend to support efficient single-character output should override this method.