string length can be depending upon the design
Answers
Answered by
2
Answer:
To calculate the length of a string in Java, you can use an inbuilt length() method of the Java string class. In Java, strings are objects created using the string class and the length() method is a public member method of this class. ... The length() method counts the total number of characters in a String.
hope this is help you☺ friend
Similar questions