You wish to test whether the means of a numerical variable are different for two possible values of categorical variable (such as yearly salary for gender).

a) ANOVA
b) Two-sample t-test
c) Chi-square test
d) One-sample t-test