What is the sum of all angles of a triangle?

A. 270 degrees  B. 180 degrees  C. 90 degrees D. None of these