SaticDifferentClassApply a=new SaticDifferentClassApply();
//定义一个新对象去调用在其他类里面的静态方法
静态方法类代码如下:
package 概念;
public class SaticDifferentClassApply {
public static int min(int[] arr){
//int[] arr定义一个数组对象 方法为int有返参
int min
SaticDifferentClassApply a=new SaticDifferentClassApply();
//定义一个新对象去调用在其他类里面的静态方法
静态方法类代码如下:
package 概念;
public class SaticDifferentClassApply {
public static int min(int[] arr){
//int[] arr定义一个数组对象 方法为int有返参
int min