2. The three sides of a triangle are all integers, and its perimeter equals 10. Then this triangle is ( ).
(A) a right triangle
(B) an obtuse triangle
(C) a triangle with exactly two equal sides
(D) a triangle with exactly one interior angle of $60^{\circ}$