Can 2 X 2 between-subject ANOVA be used if participants were from the same class and all completed the same survey?

For example, say the two conditions were athletic status(athlete vs non-athlete) and parent status (parent or not a parent) and all participants completed the same survey about their beliefs.

Would this have to be a within-subjects factorial design? or could it be between-subjects?