按以下要求编写程序 (1) 编写Animal接口,接口中声明run() 方法 (2) 定义Bird类和Fish类实现Animal接口 (3) 编写Bird类和Fish类的测试程序,并调用其中的run()方法 //Animal.java public interface Animal { } //Bird.java public class Bird implements Animal { @Override { // TODO Auto-generated method stub System.out.println("Fly"); } } //Fish.java { @Override public void run() { // TODO Auto-generated method stub System.out.println("Swim"); } } //AnimalTest.java public class AnimalTest { public static void main(String[] args) { // TODO Auto-generated method stub Animal animal[]= { }; for(int i=0;i< animal.length ;i++) } }