Bitwise interview question

Star , Number and alphabet patterns in java.