0 votes
in C Plus Plus by

What is the protocol in Objective C?

1 Answer

0 votes
by

In Objective-C, a protocol is a language feature, that provides multiple inheritances in a single inheritance language.  Objective C supports two types of protocol.

  • Ad hoc protocols known as informal protocol
  • Compiler protocols are known as formal protocol

Related questions

+2 votes
asked Jan 19, 2022 in C Plus Plus by DavidAnderson
0 votes
0 votes
asked Nov 6, 2022 in Swift by rajeshsharma
...