What is an example of an interface?

Giao Linh

New member
What is an example of an interface?
Answer
An interface is a description of the actions that an object can do… for example when you
flip a light switch, the light goes on, you don’t care how, just that it does. In Object Oriented Programming, an Interface is a description of all functions that an object must have in order to be an “X”.
 

Tìm kiếm

Back
Top