久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      java注釋的三種形式分別是什么

      java注釋的三種形式分別是:1、單行注釋,如【//單行注釋】;2、多行注釋,如【/*多行注釋*/】;3、文檔注釋,如【/**@author*/】。

      java注釋的三種形式分別是什么

      JAVA的注釋共有三種形式:單行注釋、多行注釋、文檔注釋。

      (推薦教程:java課程)

      1、單行注釋

      public class  online{ 	public static void main(String[] args) { 		//這是一個單行注釋 		System.out.println("Hello World!"); 	} }

      2、多行注釋

      public class  online{ 	public static void main(String[] args) { 		/* 		這是一個多行注釋 		*/ 		System.out.println("Hello World!"); 	} }

      3、文檔注釋

      public class  online{ 	public static void main(String[] args) { 		/** 		@author a_hasaigei 		@version 1.0 		這是一個文檔注釋 		是用來生成幫助文檔的 		文檔注釋,是一種特殊的多行注釋 		*/ 		System.out.println("Hello World!"); 	} }

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號