爱词霸英语   汉语   手机版   软件版下载 | English
每日一句:正在加载...
1./** A class comment */public class docTest { /** A variable comment */ public int i; /** A method comment */ public void f() {}}
/** 一个注释 */public class docTest {/** 一个变量注释 */public int i;/** 一个方法注释 */public void f() {}}收藏指正
2.When you’re creating a stand-alone program such as this one, one of the classes in the file must have the same name as the file (The compiler complains if you don’t do this.) That class must contain a method called main( ) with the signature shown:public static void main(String[] args) {
若象现在这样创建一个独立的程序,文件中的一个必须与文件同名(如果没这样做,编译器会及时作出反应)。里必须包含一个名为main()的方法,形式如下: public static void main(String[] args) {收藏指正
尝试查询
汉英释义