The length variable of the array is final.
The length method of the string is final.
ie., length variable applicable for arrays but not for string object whereas length method applicable for string objects but not arrays.

length

In multi dimensional arrays length variable represents base size only but not total size.

multi

There is no direct way to find total size/length of multidimensional array but indirectly we can find as follows.

x[0]+x[1]+x[2];