Correct Answer - Option 2 : Data in the statement either I or II is sufficient to answer the question.

So,

The rank of Neeraj from bottom = 22

The rank of Ananya from top = 25

The rank of Neeraj from top = 22

Total number of students in class = 22 + 22 – 1 = 43

Rank of Ananya from bottom = 43 – 25 + 1 = 19

Statement (II): Vishal is 5 ranks below Ananya in a class of 43 students

So,

Total number of students in class = 43

Rank of Ananya from bottom = 43 – 25 + 1 = 19

Therefore, **Data in statement either I or II is sufficient to answer the question.**

Hence, option 2 is the correct answer.