import java.util.*;
class TestStatic
{ Static least(int[] b)
{int c=b[0];
for(int i=0;i<=4;i=i+1)
{if(b[i]<c) {c=b[i]; return c;} else {}}
System.out.println(c);
}
}
public class Awm
{ public static void main(String[] args)
{ int a=new int[5];
Scanner reader=new Scanner(System.in);
System.out.println("请输入五个整数给一维数组a");
for(int i=0;i<=4;i=i+1)
{a[i]=reader.nextInt();}
TestStatic.least(a);
}
}
上面是我写的源代码,但是我怎么改,也还是这个四个错误,错误如下。,求解答,大神们