Java String length

The java string length() method length of the string. It returns count of total number of characters. The length of java string is same as the unicode code units of the string.


The signature of intern method is given below:

public int length()

Specified by

CharSequence interface


length of characters

Java String equals() method example

Flash soon

Copyright 2017 Design& Development