How Java provides implementation of Array internally? -


i have gone through java tutorials confusion arrays still there in mind.

how array works internally? data member length comes?(when have length of dynamic array, use array.length)

there no "member function" length(). there's (final) property length tells size of array. arrays objects, they're native implemented. they're pointers bounds checking.

you don't need worry internal implementation of arrays, work fine.


Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -