Yes. Both are transposing instruments:
The difference stems from their tubing lengths; the A clarinet is slightly longer. Many other instruments (trumpet, saxophone, horn) also transpose.