0
What will be the data type for 10 January in array declaration...????
2 Antworten
0
Array is a homogeneous data type means it can store similar data values..
For ex: if you declare int array , then it can store only integer values. If you declare string array it can store string values..
So here in 10 January, if you want individually, you need a int array and a string array separately.
Or else you can store in string array in the form of total string "10 January"..
0
by using array of java.util.Date