Instead of attending class, one could have worked an extra hour at the café for $10 or watched a neighbor’s child for $15. The opportunity cost of attending class is: $15. $25. $5. $10.
The next best alternative course of action one could have taken is watch the neighbor's child. It yields the highest reward of the two alternative options