0

I can't understand this array concept .plzzz anyone help me

17th Jul 2017, 6:52 AM
N Tarun Sri
N Tarun Sri - avatar
19 ответов
+ 11
variable = value array = [variable,variable,variable] this is the simple concept of array :/
17th Jul 2017, 7:22 AM
Nithiwat
Nithiwat - avatar
+ 1
in other type of declarations when u dont put (initialize) the array at the time of declaration u need to give the length while declaration like int a []=new int [10] it will hold 10 values with index numbers 0 to 9
17th Jul 2017, 7:37 AM
Nirmal Kumar Bhakat
Nirmal Kumar Bhakat - avatar
0
array is a collection of values of similar data type which come under the same name but with different index numbers. suppose u want to save 5 numbers 10,20,30,40,50 so we use int a=10,b=20,c=30,d=40,e=50; but a simpler idea will be saving all this under one name int a []={10,20,30,40,50} the index number of 10 will be 0 referred to as a [0] of 20 will be 1 and so on....
17th Jul 2017, 7:29 AM
Nirmal Kumar Bhakat
Nirmal Kumar Bhakat - avatar
0
there's a lot of ways to declare an array in this one a []={1,2,3,4} u don't need to give the length the length will be no. of values u put
17th Jul 2017, 7:36 AM
Nirmal Kumar Bhakat
Nirmal Kumar Bhakat - avatar
0
welcome
17th Jul 2017, 8:10 AM
Nirmal Kumar Bhakat
Nirmal Kumar Bhakat - avatar
- 1
what is the maximum array length
17th Jul 2017, 7:26 AM
N Tarun Sri
N Tarun Sri - avatar
- 1
so the length of the array is based on our length
17th Jul 2017, 7:34 AM
N Tarun Sri
N Tarun Sri - avatar
- 1
kk thanx
17th Jul 2017, 8:10 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
kk
17th Jul 2017, 6:58 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
nxt
17th Jul 2017, 6:58 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
hooo good
17th Jul 2017, 7:04 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
u want help in learning java
17th Jul 2017, 7:04 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
then
17th Jul 2017, 7:05 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
array concept is finished??
17th Jul 2017, 7:06 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
kkk
17th Jul 2017, 7:07 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
can u explain some more
17th Jul 2017, 7:07 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
itis too hard to learn
17th Jul 2017, 7:13 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
hmm
17th Jul 2017, 7:25 AM
N Tarun Sri
N Tarun Sri - avatar
- 3
hoo good
17th Jul 2017, 7:33 AM
N Tarun Sri
N Tarun Sri - avatar