Bitwise Interview Question

Star , Number and alphabet patterns in java.