+ 1
diff between length and length()
3 Réponses
+ 5
length is a variable whereas length() is a method. Generally, length is used to for arrays whereas length() would be for Strings
0
Agree.
0
Length is a identifier or a variable, length() is a method to find the length