Can Gains and Losses be classified as "operating"?

Can gains and losses be considered "operating" vs. non-operating? Becker says no - gains and losses are only non-operating. Wiley says yes - gains and losses can be operating or non-operating. (Based on a MCQ in the online test bank). Which is correct??