关于java中继承Arrays类
package com.tarena;import java.util.Arrays;
public class wang extends Arrays
{ public static void main(String[] args)
{
System.out.print("haha");
wang w=new wang();
System.out.println(w.f());
int aa[]={1,3,4,5};
System.out.println(Arrays.toString(aa));
}
public static char[] f()
{
//int a=1;
char[]b=new char[3];
b[0]='1';b[1]='1';b[2]='4';
return b;
}
}
报错public class wang extends Arrays,求助