YouaredefiningaclassnamedMyClassthatcontainsseveralchildobjects.MyClasscontainsamethodnamedProcessChildrenthatperformsactionsonthechildobjects.MyClassobjectswillbeserializable.YouneedtoensurethattheProcessChildrenmethodisexecutedaftertheMyClassobjectandallitschildobjectsarereconstructed.Whichtwoactionsshouldyouperform?()

A.ApplytheOnDeserializingattributetotheProcessChildrenmethod. B.SpecifythatMyClassimplementstheIDeserializationCallbackinterface. C.SpecifythatMyClassinheritsfromtheObjectManagerclass. D.ApplytheOnSerializedattributetotheProcessChildrenmethod. E.CreateaGetObjectDatamethodthatcallsProcessChildren. F.CreateanOnDeserializationmethodthatcallsProcessChildren.

时间:2023-09-20 09:24:01

相似题目