+ 1

What is the purpose of interfaces in java?

I an asking purpose not just asking how it is used in Java :)

7th Aug 2017, 12:14 AM
Deepak Gurram
Deepak Gurram - avatar
2 RĂ©ponses
+ 9
+ separate what a class does (interface) from how it does it (class implementation). + use it to achieve multiple inheritance.
7th Aug 2017, 10:59 AM
BĂ ng Tứ Cường
BĂ ng Tứ Cường - avatar
+ 5
https://www.sololearn.com/discuss/580251/?ref=app Could search the current Q&A first before posting questions :/
7th Aug 2017, 11:03 AM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar