interfaces | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

interfaces

why exactly we use interfaces ??

30th Dec 2016, 1:32 PM
Wic Amo
Wic Amo - avatar
1 Respuesta
0
If you want to make sure a class implements a specific method you use an interface. A class is required to implement this interface method. Otherwise the compiler will throw an exception.
30th Dec 2016, 1:47 PM
qobus