Java Associate — Easy
Key points
- The length() method is specifically used to determine the number of characters in a String.
- Other methods like size(), count(), and len() are not applicable for finding the length of a String.
- Remember to use the correct method name when working with Strings in Java.
Ready to go further?
Related questions
