Java Reference
In-Depth Information
Type final varname n = value;
}
Simple interface contains only one function or method known as callback function.
For example
Interface callback
{
Void callback (int parm);
}
Implementing interface
To creating any interface implementation of class is included in definition of a class.
For example
Class client call back
{
Public void callback (int x)
{
System.out.println (“callback” + x);
}
}
Search WWH ::




Custom Search