Kumaran M's Profile

About

 
Points: 7
Gender: Male
Birthday: October 10, 1988

Contact

 

Kumaran M
April 11, 2015 · Public

Hello, I have a query hope someone would help me.

int hi [] = {1,2,3,4,5} ; /// one dimensional array

so hi.length = 5 that is from 0 to 4

int hi [] [] = {{1,2,3,4,5},{6,7,8,9,10},{11,12,13},{14,15,16,17}} ; ///two dimensional array

I am not sure what is hi.length here. Can anyone help me understand this

Kumaran M
April 1, 2015 · Public