<p dir="ltr">Is there a char[] overload? I just checked the javadoc for 24 and 25, and I only see Object, String, and no-arg overloads. Not char[].</p>
<br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Jun 28, 2025, 6:40 AM Ethan McCue <<a href="mailto:ethan@mccue.dev">ethan@mccue.dev</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I was going through some examples in my writing and noticed that<br><br>IO.println(new char[] { 'a', 'b' });<br><br>will hit the Object overload of System.out.println and not the char[] overload<br><br>This breaks a few of my examples <a href="https://javabook.mccue.dev/arrays/aliasing" target="_blank" rel="noreferrer">https://javabook.mccue.dev/arrays/aliasing</a></div>
</blockquote></div>