In reply to ben@SystemVerilog.us:
I understand that extending class B and adding the constraint would create one solution to the problem. The reason I added code to the original post was to help illustrate the primary question I have:
If class A instantiates class B and puts a constraint on that instantiation’s members, will that constraint be applied if that object calls “randomize”.