4. In $\triangle A B C$, if $A B=2 B C, \angle B$ $=2 \angle A$, then $\triangle A B C$ is ( ).
(A) acute triangle
(B) right triangle
(C) obtuse triangle
(D) cannot be determined
4. B

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.