Computer Science, asked by santoshkaled1995, 2 months ago

what is implimentation of interface syntax​

Answers

Answered by TaniyaArmy
3

Answer:

To implement interface use implements keyword. Why do we use interface ? It is used to achieve total abstraction. Since java does not support multiple inheritance in case of class, but by using interface it can achieve multiple inheritance .

Answered by siddhi710
4

● To declare a class that implements an interface, you include an implements clause in the class declaration. Your class can implement more than one interface, so the implements keyword is followed by a comma-separated list of the interfaces implemented by the class.

● Hope it helps you✌❤

Similar questions