To extract more than one character at a time, we can use the getChars( ) method It has this general form void getChars(int sourceStart, int sourceEnd, char target[ ], int targetStart) The following program demonstrates getChars( ): Here is the output of this program: demo