Computer Science, asked by rajendrarana77758, 3 months ago

.Differentiate between the following: [5]
length and length()

Answers

Answered by anindyaadhikari13
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