Is Japan Allowed To Have An Army?

Do Japan has its own army?

.

Is Germany still not allowed to have an army?

Why Japan is not allowed to have an army?