首页 > 其他分享 >基础语法01

基础语法01

时间:2022-11-24 11:46:12浏览次数:38  
标签:01 String 基础 System 语法 println hello out

基础语法01

public class Demo01 {
   public static void main(String[] args) {
       String elloba="fisher";
       String $Hello="fisherba";
       String _hello="szpenmaji";
       String $hello="szpenmaji2";
       System.out.println(elloba);
       System.out.println(_hello);
       System.out.println($hello);



  }
}

总结:变量名开头必须是大小写字母或者$或者下划线_

标签:01,String,基础,System,语法,println,hello,out
From: https://www.cnblogs.com/Fisherstudy/p/16921340.html

相关文章