Binary classification is used to predict one of two possible outcomes.
A two class problem (binary problem) has possibly only two outcomes:
and is much more known as a Bernoulli trial (or binomial trial)
See