Protocols And Their Benefits
Q. What is a protocol and what are the benefits of using a protocol? Protocols And Their Benefits: A protocol defines a blueprint of methods, properties and other requirements that suit a particular task or piece of functionality. The protocol than can be adopted by a class, structure, or enumerations to provide actual implementations of…