what is implimentation of interface syntax
Answers
Answered by
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
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