PIR means principal ideal ring.This is extended concept of PID, we do not assume integral domain.
Is it true that every nonzero prime ideal is maximal, even in PIR ? Or, do we need to restrict the condition ?(For example, non nilpotent prime ideal) Thank you for your help.
I think the best one can say is that the class of commutative rings for which the nonzero prime ideals are maximal can be classified in two pieces:
Principal ideal domains fall under the first item, but since taking finite ring products increases the Krull dimension but preserves the property of being a PIR, you will quickly leave the class (as mentioned in the comments.)
Any Artinian PIR is zero dimensional, though.