In the given figure, the inclined surface is smooth. The body releases from the top. Then-
(A) the body has maximum velocity just before striking the spring
(B) The body performs periodic motion
(C) the body has maximum velocity at the compression mgsinθ/k where k is spring constant
(D) both (B) and (C) are correct