标签:ar java sp ad bs new as return class
import java.util.*;
public class Main
{
public interface hehe
{
public int x = 0;
public int add(int a,int b);
}
class xixi implements hehe
{
public xixi()
{
}
public int add(int a,int b)
{
return a + b;
}
}
public static void main(String[] argv)
{
xixi xx = new xixi();
xx.add(2, 2);
Scanner in = new Scanner(System.in);
System.out.println("dlkfsdf");
}
}
标签:ar java sp ad bs new as return class
原文地址:http://www.cnblogs.com/xiaxiaosheng/p/4043336.html