Can we covergroup inside a monitor

In reply to dave_59:

Hai Deve,

thank you for your inputs. next time I will definitely follow the code tags.

ok I will try the coverage by writing it in a separate class.