1.

The pickle module defines ______ exceptions and exports _______ classes.(a) 2, 3(b) 3, 4(c) 3, 2(d) 4, 3I had been asked this question in an interview.My doubt stems from Pickle Module topic in chapter Mapping Functions and Modules of Python

Answer»

The correct option is (C) 3, 2

The best I can EXPLAIN: The pickle module defines three exceptions, namely, pickle.PickleError, pickle.PicklingError, pickle.UnpickleError and EXPORTS two classes, namely, pickle.Pickler and pickle.Unpickler.



Discussion

No Comment Found

Related InterviewSolutions