import ***.io.*;
claort
{
public static void main (String[] args) {
Integer a[]={20,3,-2,60,15};
Integer temp;
for(int i=0;i<a.length;i++)
{
for(int j=0;j<a.length;j++)
{
if(a
{
temp=a[i];
a[i]=a[j];
a[j]=temp;
}
}
}
//OutPut
for(int k=0;k<a.length;k++)
System.out.println(a[k]);
}
}
claort
{
public static void main (String[] args) {
Integer a[]={20,3,-2,60,15};
Integer temp;
for(int i=0;i<a.length;i++)
{
for(int j=0;j<a.length;j++)
{
if(a
{
temp=a[i];
a[i]=a[j];
a[j]=temp;
}
}
}
//OutPut
for(int k=0;k<a.length;k++)
System.out.println(a[k]);
}
}