In reply to ramankaur09:
I think you are confusing class types with class variables. The UVM factory gives you ways of creating objects with overridden class types. You can certainly override a scoreboard/monitor with more ports, which just means defined an extended type with more class variables.