+"at Position 10 " +"in StringBuffer = " +unicode); } } 输出: UnicodeofCharacteratPosition10inStringBuffer=101 示例2:演示IndexOutOfBoundsException // Java program demonstrate // IndexOutOfBoundsException thrown by // the codePointAt() Method. classGFG{ publicstaticvoidmain(String[]args) { ...