Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How to convert an integer array into an int array in java
How to convert an integer array into an int array in java
You can transfer one, right?

int I = inter ger . int value();

The most direct way is to use the for loop:

Integer []? Integer? =? New? Integer[]{new? Integer (5),? New? Integer (8)};

int[]? intArray? =? New? Int[ integer. length];

for(int? I = 0; ? Me? & lt? Integer. Length; ? Me? ++)

{

intArray[i]? =? Integer [i] int value();

}