(b) The code below violates the rules on encapsulation. Re-write class Pet so that encapsulation is...

Posted Date: