Write code to check if a char is Capital
//package com.book2s; public class Main { public static void main(String[] argv) { char c = 'a'; System.out.println(isCapital(c)); }/*from w ww .j a v a 2 s .co m*/ public static boolean isCapital(char c) { return Character.isUpperCase(c); } }