<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Thank you for your suggestion.<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On 23 Jun 2023, at 10:37, Pravin <pravin@zensoftech.co.in> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div>
<div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;">
<div>Hello sir/madam,<br>
</div>
<div><br>
</div>
<div>In the last para on page 44. the following sentence<br>
</div>
<div><br>
</div>
<div>Supplementary characters must be represented<br>
</div>
<div>either as a surrogate pair within a char sequence, or as an integer, depending on<br>
</div>
<div>the API they are used with.<br>
</div>
<div><br>
</div>
<div>may be replaced with<br>
</div>
<div><br>
</div>
<div>Supplementary characters must be represented<br>
</div>
<div>either as a surrogate pair within a java.lang.CharSequence, or as an integer, depending on<br>
</div>
<div>the API they are used with.<br>
</div>
<div><br>
</div>
<div>regards,<br>
</div>
<div>Pravin<br>
</div>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<div>You may find this article interesting: <a href="https://www.oracle.com/technical-resources/articles/javase/supplementary.html">https://www.oracle.com/technical-resources/articles/javase/supplementary.html</a></div>
<div><br>
</div>
<div>You’ll find the following explanation:</div>
<div><br>
</div>
<div><span style="font-size: 16px; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; background-color: rgb(251, 249, 248);">This article also uses the terms </span><em style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; -webkit-font-smoothing: antialiased; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;">character
sequence</em><span style="font-size: 16px; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; background-color: rgb(251, 249, 248);"> or </span><em style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; -webkit-font-smoothing: antialiased; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;"><code class="ocode ocode-initialized" style="box-sizing: border-box; margin: 0.5em 0px; padding: 0px; list-style: none; background-repeat: no-repeat; -webkit-font-smoothing: antialiased; position: relative; visibility: visible; width: auto; background-color: rgba(33, 30, 28, 0.03); color: rgb(22, 21, 19); text-shadow: none; font-family: "Courier New", monospace; word-spacing: normal; word-break: normal; overflow-wrap: normal; tab-size: 2; hyphens: none; display: inline-block;">char</code> sequence </em><span style="font-size: 16px; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; background-color: rgb(251, 249, 248);">in
many places to summarize all the containers of character sequences that the Java 2 Platform knows: </span><code class="ocode ocode-initialized" style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; -webkit-font-smoothing: antialiased; position: relative; visibility: visible; width: auto; background-color: rgba(33, 30, 28, 0.03); color: rgb(22, 21, 19); text-shadow: none; font-family: "Courier New", monospace; word-break: normal; overflow-wrap: normal; tab-size: 2; hyphens: none; display: inline-block;">char[]</code><span style="font-size: 16px; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; background-color: rgb(251, 249, 248);">,
implementations of </span><code class="ocode ocode-initialized" style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; -webkit-font-smoothing: antialiased; position: relative; visibility: visible; width: auto; background-color: rgba(33, 30, 28, 0.03); color: rgb(22, 21, 19); text-shadow: none; font-family: "Courier New", monospace; word-break: normal; overflow-wrap: normal; tab-size: 2; hyphens: none; display: inline-block;">java.lang.CharSequence</code><span style="font-size: 16px; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; background-color: rgb(251, 249, 248);"> (such
as the </span><code class="ocode ocode-initialized" style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; -webkit-font-smoothing: antialiased; position: relative; visibility: visible; width: auto; background-color: rgba(33, 30, 28, 0.03); color: rgb(22, 21, 19); text-shadow: none; font-family: "Courier New", monospace; word-break: normal; overflow-wrap: normal; tab-size: 2; hyphens: none; display: inline-block;">String</code><span style="font-size: 16px; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; background-color: rgb(251, 249, 248);"> class),
and implementations of </span><code class="ocode ocode-initialized" style="font-size: 16px; box-sizing: border-box; margin: 0px; padding: 0px; list-style: none; background-repeat: no-repeat; -webkit-font-smoothing: antialiased; position: relative; visibility: visible; width: auto; background-color: rgba(33, 30, 28, 0.03); color: rgb(22, 21, 19); text-shadow: none; font-family: "Courier New", monospace; word-break: normal; overflow-wrap: normal; tab-size: 2; hyphens: none; display: inline-block;">java.text.CharacterIterator</code><span style="font-size: 16px; font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; background-color: rgb(251, 249, 248);">.</span></div>
<div><br>
</div>
<div><br>
</div>
<div>I hope this explains the JLS terminology.</div>
<div><br>
</div>
<div>Many thanks,</div>
<div>Gavin</div>
</body>
</html>