How do you convert objects of one class to objects of another class? For example, let's say Object A has the attributes "height" and "weight." How do I check to see if Object B has these same attributes? And if Object B does have similar attributes as Object A, how do I import those values to Object A and/or create a new object with those attributes and values?
Thanks for your help!