Write a simple console output programe to display 'A' that use System.out.write().

class WriteDemo
{
    public static void main(String args[])
    {
        int b;
        b = 'A';
        System.out.write(b);
        System.out.write('\n');
    }
}