正在加载图片...
Java Program Structure import <packagename>.<someclassname>i import <packagename>* class <className> <type> <fieldName1>i Field (Data Member) <type> <fieldName2>; Declarations <type> <methodName1>(.. Method declarations <type> <methodName2> K国 Michael Fung, CS&E, The Chinese University of HK2008-2009 2a Michael Fung, CS&E, The Chinese University of HK 5 Java Program Structure Field (Data Member) Declarations Method Declarations import <packagename>.<someclassname>; import <packagename>.*; class <ClassName> { <type> <fieldName1>; <type> <fieldName2>; <type> <methodName1> ( ... ) { } <type> <methodName2> ( ... ) { } }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有