Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Shaping attributes
Shaping attributes
Public? Class? Testing? {

//define an integer array number

Private? Static electricity int[]? num? =? New? int[]{ 1,2, 10,3,4,5,6,7,8,9 };

//Method to find the maximum number

Public? Static electricity Invalid? main(String[]? args)? {

int? Found it? =? num[0]; ? //Maximum quantity

int? Length? =? Number length; ? //length is the length of the array.

for(int? I = 0; ? I < length; ? i++){

If (found? & lt? num[i]){

Found it? =? num[I];

}

}

system . out . println(find);

}

}