day5
作者:互联网
感叹号!!!!
//单行注释:只能注释我们一行文字//
//输出一个Hello,World!
System.out.println("Hello,World!");
//多行注释:可以注释一段文字 /* 注释 */
/*
我是多行注释
我是多行注释
*/
JavaDoc:文档注释
/**
* @dESCRIPTION HelloWorld
* @author 狂神说
*/
public class Demo01 {
public static void main(String[] args) {
String 王者荣耀 ="百星王者";
//String 王者荣耀 ="倔强青铜";
System.out.println(王者荣耀);
//大小写十分敏感
String Man ="chenai";
String man ="chenai";
String Ahello ="chenai";
String hello ="chenai";
String $hello ="chenai";
String _hello ="chenai";
String _1 ="chenai";
//String class ="chenai";
//String *hello ="chenai";
// String 1hello ="chenai";
//String #Ahello ="chenai";
}
}
标签:多行,注释,String,王者,day5,chenai,hello 来源: https://www.cnblogs.com/cya520/p/15939574.html