Answer:
6 students.
Explanation:
let the number of students in class be x
Since Half of the class represents half of the students, therefore
Number of student who got A in test =

Now if one more student got A in test then the number of students who got A in test will be

Now according to equation,


Further solving


Hence the total number of students in class is 6.