Programming Misconceptions
Home
Misconceptions
Concepts
Languages
Textbooks
Contributors
About
Home
Languages
Java
jls21
An Array of Characters Is Not a String
Java Language Specification, Version Java SE 21 Edition
10.9. An Array of Characters Is Not a String
Read this Section of the Authoritative Specification
https://docs.oracle.com/javase/specs/jls/se21/html/jls-10.html#jls-10.9
1 Documented Misconceptions
StringLengthField
One can know the length of a String object by accessing its length field
Find Misconceptions by...
Concept
Programming Language
Notional Machine
Textbook
About
About This Site
Structure and Content of the Inventory
Contributors