怎么让定义一个接口类,然后接口的方法直接调用

如何让定义一个接口类,然后接口的方法直接调用!public interface Test1{//接口类void getvb() throws Exce

如何让定义一个接口类,然后接口的方法直接调用!

public interface Test1{//接口类    void getvb() throws Exception;}//...............过程public class Test{   public static void main(String[] args) throws Exception {    Test1.getvb();//可以直接调用接口的方法,而不去实现,请问大家在中间过程怎么搞!!!!!!   }}