???????????????????????????????????????????飬??????????????????????????????????????Щ???????????????????????????????????ε???????????

????????????μ?????????if(i>0)????ε??????false??????????true????????ζ??ж???????????????????????????????????????д???????

????StringBuilder sb = new StringBuilder("Ingredients: ");

????if (ingredients.length > 0) {

????sb.append(ingredients[0]);

????for (int i = 1; i < ingredients.length; i++) {

????sb.append("?? ");

????sb.append(ingredients[i]);

????}

????}

????return sb.toString();

????????д??????????if(i > 0)????????????????????Щ???????(????append)??????????????????????

??????????????

?????????????????????????????????null???????Ч???(???磬???????????????????????)??????????????????????????????С?

??????Щ????????????????(??????null???????)?????????????????????

????public static String l33tify(String phrase) {

????if (phrase == null) {

????throw new IllegalArgumentException("phrase must not be null");

????}

????return phrase.replace('e'?? '3');

????}

????????????д?ú???????д?null???l33tify??????????ж????????????

?????????????δ?????????н???if??????JIT???????????????????????????????????????±????????????????????????????????????????????

????public static String l33tify(String phrase) {

????return phrase.replace('e'?? '3');

????}

???????????????????????????????????????????????????

????????????????????????????????

????JVM??????е?????????????????????????????NullPointerException???????????????????????????JVM???????????????????????δ????????????????????????——???????????????????????????????????????±?????????????????????????

?????鷽??????

????JVM??JIT????????????????????????????JIT?????????????????????????????????Щ??????о????

??????????????????????????????????????????????????滻???????????????????ε????????????????????鷽??????(??????)???????????С???????