How to get length of String in Java -
We have built-in length() method of the Java string class can be used to determine a string's length/size. The length() method is a public member function of the string class in Java, which is used to produce objects called strings. As a result, the . (dot) operator can be used to access this method from any variable of type string.
#shorts #java #minoractivity #1minuteconcept
#string