1. What are the merits and demerits in teaching students in class?

2. What are the merits and demerits about teaching students in class?
------------
Which one is grammatical and commonly used?

I'd use #2, but I'd change "merits and demerits" to "pros and cons" or "positives and negatives."