I have an int and I would like to wrapp it in an Integer.
I know that
Integer convertInt = int aNumber;
But I am not sure how I would go about it for an array.
I tried using a for loop such as:
for(int i=0; i<aNumber.length; i++)
convertInt = aNumber
but is no use as I get an error (array dimension missing)while declaring
Integer convertInt = new Integer;
If anybody could help me get back on track it would be great.