+ 1

What is interface

tell

4th Dec 2016, 9:19 AM
Ruby Roy
Ruby Roy - avatar
3 odpowiedzi
+ 2
interface are a special kind of class. Java doesn't not support multiple heritage, but you can implements any number of interfaces. Interfaces are abstract class (they are not implemented).
4th Dec 2016, 9:27 AM
Nahuel
Nahuel - avatar
+ 1
interface automatically makes class/methods abstract. u can search for abstract keyword @ oracle website.
12th Dec 2016, 1:36 AM
Ritesh Patidar
Ritesh Patidar - avatar
0
Interface is like a contract, you define the methods and properties and ask the classes that implement this 'contract' that also have all methods and properties.
4th Dec 2016, 10:54 AM
Alex Qo
Alex Qo - avatar