Is Japan Not Allowed To Have An Army?

Why is Japan not allowed to have a military?

.