null ããã©ã°ã¨ãã¦ä½¿ãã®ã¯ããããæ¹ãããã¨æãã¾ãã null ã¯ããã å¤æ°ãåæåããã¦ããªããã¨ã表ãã¦ããã ãã§ãã ãã®æå³ä»¥å¤ã§ãnull ã使ããªãæ¹ãããã¨æãã¾ãã null ããã©ã°ã¨ãã¦ä½¿ã ãnull ããã©ã°ã¨ãã¦ä½¿ããã¨ããã®ã¯ããnull ãªã xxxxãã¨ããããã«ãnull ãä½ããã®æå³ãæã£ã¦ä½¿ããã¦ãããã¨ãæãã¾ãã ä¾ãã°ãä¸è¨ã®ã³ã¼ãã§ã¯ãnull ã¯ã²ã¹ãã¦ã¼ã¶ãæããã©ã°ãã¨ãã¦ä½¿ããã¦ãã¾ãã /** * ã¦ã¼ã¶ç¨ã®ããããä½ãå¦ç */ public String createHeader(User user){ (â¦ä¸ç¥â¦) String name; if(user != null){ name = user.getName(); }else{ name = "Guest"; // null ãªãã²ã¹ãã¦ã¼ã¶ } åé¡ç¹ ããã®
{{#tags}}- {{label}}
{{/tags}}