Every method of the main interface has a matching entry in the asynchronous interface, but with a return type of void and an additional argument of class AsyncCallback.
主接口的每种方法在异步接口中都有相匹配的条目,但是附带了void返回类型和asynccallback类的附加参数。
Amidst all of the other compiler-provided methods, you should be able to find a good old public static void main (String args) method.
在所有其他编译器提供的方法之中,您应当能够找到一种优秀的旧public static void main (String args)方法。
In particular, the common practice of declaring main with a return type of void is simply incorrect.
尤其是,通常以void为返回类型声明main的习惯是完全错误的。
- And, in fact, let's see -- -- don't do this at home or on our systems -- but let me go ahead and do nano don't do this dot C. Let's go int main ahead and do int main void.
然后,实际上,让我们看看-,不要在家里或者在我们的系统上这样做-,但是让我们继续处理nano,dontdothis,c文件,让我们继续。
Right. So main calls foo, foo is declared, but wait a minute, void foo void I need my prototype; so void foo, void.
对,main调用foo,foo被声明了,但是等一等,我需要我的原型,所以。
应用推荐