.Differentiate between the following: [5]
length and length()
Answers
Answered by
1
Answer:-
In java, the main difference between length and length() function is that length function is used to calculate the length of an array whereas length() function is used to calculate the length of any given string.
This is the main difference.
Have a great day ahead..
Similar questions
Biology,
2 months ago
Social Sciences,
2 months ago
Social Sciences,
6 months ago
Physics,
11 months ago
Science,
11 months ago