day1

it2023-08-18  68

//注释:单行注释 /…/:多行注释 /**…*/:文档注释

演示:

/** * * */ public class Java1 {

public static void main (String args[]){ //下面一行代码的作用是输出helloworld System.out.println( "helloworld" ); /* * */ }

}

最新回复(0)