[已关闭问题]
关闭于 2011-01-07 16:09
<p class="2">1) import java.util.*; //该程序名为kf.java </p>
<p class="2">2) public class kk{</p>
<p class="2">3) public static void main(String a[]) throw IOException {</p>
<p class="2">4) char x;</p>
<p class="2">5) System.out.println("please enter a character:");</p>
<p class="2">6) x=(char)System.in.readLine();</p>
<p class="2">7) if(character.isUpperCase(x))</p>
<p class="2">8) System.out.println("You enter a Upper character");</p>
<p class="2">9) if(Character.isLowerCase(x))</p>
<p class="2">10) System.out.println("You enter a Lower character"); </p>
<p class="2">11) }}</p>
<p><br /><br />错在哪</p>