1.

Write the difference between length and length() functions. 

Answer»

Both returns an integer value. length property is used with an array to get the number of elements of array wheres length() method is used with String to get the length of the stored string.



Discussion

No Comment Found

Related InterviewSolutions