Select the figure from among the given option that can replace the question mark(?) in the following series.

Show answer & explanation
Correct answer: D
Explanation
The correct answer is option 4 i.e. 

The line with circle is rotating in anti-clockwise direction by 90° and 45° alternatively.
While the another line is moving along the sides and corner in clockwise direction.