What provide the interface between object's data and program?
Answers
Answered by
3
Interfaces in Object OrientedProgramming Languages. An interfaceis a programming structure/syntax that allows the computer to enforce certain properties on an object (class).For example, say we have a car class and a scooter class and a truck class. Each of these three classes should have a start_engine() action.
Answered by
0
An interface is a programming framework or syntax that allows a computer to impose specific features on an item.
The interface between object's data and program :
- Object-Oriented Programming Language Interface. An interface is a programming framework or syntax that allows a computer to impose specific features on an item.
- Consider the following scenario: we have a vehicle class, a scooter class, and a truck class. A start engine() action should be present in each of these three types.
- Except for the default and static methods introduced in Java8, it often comprises abstract methods.
Similar questions
Chemistry,
6 months ago
Social Sciences,
6 months ago
Physics,
6 months ago
Biology,
1 year ago
English,
1 year ago