Question OOP-ABS-0071
HardWhat is a Python Protocol (typing.Protocol) used for?
- A.
Abstract base classes that must be subclassed
- B.
Network protocols
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Abstraction and Interfaces question
What is a Python Protocol (typing.Protocol) used for?
Abstract base classes that must be subclassed
Network protocols
Sign up free to see the answer and a step-by-step explanation.
Describing structural interfaces: any class with the right methods matches, without inheriting
Running code in parallel