* Verb (past participle): This is the most common usage. Example: "The walls were painted white."
* Adjective: Describing something that has been painted. Example: "The painted chairs were beautiful."
* Noun: This is less common but possible. Example: "The painted were a vibrant part of the art scene."
To determine the part of speech, you need to look at the context of the sentence.