Here's why:
* Predicate Adjective: A predicate adjective modifies the subject of the sentence and follows a linking verb.
* Linking Verb: In this case, the linking verb is "was". It connects the subject "John" to the description "immature".
* Subject: The subject is "John".
* Modification: The word "immature" describes the subject "John" and tells us something about his state.
Therefore, "immature" is the predicate adjective because it modifies the subject "John" and follows the linking verb "was".