To find the total pages of notes Wayne will have in his notebook after attending 8 hours of class, we can substitute \( h = 8 \) into the equation \( p = h + 4 \).
\[ p = 8 + 4 \] \[ p = 12 \]
Therefore, after attending 8 hours of class, Wayne will have 12 pages of notes in his notebook.