Difference bw array.length() & array.length

Hello

I have a question about AS3 array length method. sometimes if you use array.length() it gives error while other times it works fine and same is the case with array.length can anyone explain the difference please?