問答題使用下列方法頭編寫一個(gè)方法, 統(tǒng)計(jì)字母在字符串中出現(xiàn)的個(gè)數(shù)。public static int countLetters(String s)編寫 main 方法調(diào)用 countLetters(“Java in 2008”)并顯示結(jié)果。

您可能感興趣的試卷