Interface is collection of abstract method.
Using the keyword interface,you can fully abstract a class interface from its implementation.
example of interface:
interface Callback
{
void callback(int p);
}
Using the keyword interface,you can fully abstract a class interface from its implementation.
example of interface:
interface Callback
{
void callback(int p);
}