正在加载图片...
Introducing Methods, cont a method may return a value. The return Value Type is the data type of the value the method returns If the method does not return a value. the return value Type is the keyword yoid. the return valueType in the main method is void public static void main( String args[]( Introduction to Java Programming, revised by Dai-kaiyuLiang,Introduction to Java Programming,revised by Dai-kaiyu 8 Introducing Methods, cont. •A method may return a value. The returnValueType is the data type of the value the method returns. • If the method does not return a value, the returnValueType is the keyword void. the returnValueType in the main method is void. public static void main( String args[ ] { }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有