interface interface_name{
function fun1();
function fun2();
}
无函数体的函数声明
直接写count就好像是定义的一个全局方法一样。当然,也可以用对象的方法调用的格式直接调用。至少少了两个字符,看起来也更简洁。