* Adjective: This is the most common usage. It describes a noun, like a person or a situation.
* Example: "She had a hopeful look on her face."
* Noun: It can refer to the state of being hopeful.
* Example: "There was a hopeful that the rain would stop."
* Adverb: It can modify a verb, adjective, or another adverb, indicating that something is done or is in a way that is hopeful.
* Example: "She hopefully waited for her test results."
So, the part of speech of "hopeful" depends on its function in the sentence.