GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.geeksforgeeks.org — StringBuffer codePointAt() method in Java with Examples - GeeksforGeeks StringBuffer codePointAt() method in Java with ExamplesLast Updated : 18 Aug, 2026 The codePointAt() method of the StringBuffer class is used to return the Unicode code point of the character at the specified index. If the character at the specified index is a high surrogate and the next character is a low surrogate, the method returns the Unicode code point represented by the surrogate pair.
Output Unicode of Character at Index 10 = 101 Explanation: The character at index Syntax
Example: To demonstrate IndexOutOfBoundsException
Output Exception: java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 24 Explanation: The valid indexes range from 0 to length() - 1. Since index 25 is outside the valid range, codePointAt() throws an IndexOutOfBoundsException. Advantages of codePointAt()
Comment Explore |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |