Hi,
There is no difference.
All methods of an interface are abstract and public by default.
So, you could even type:
interface Test {
void test();
}
and it will have the same exact effect as your examples.
Tamas
On 3/22/07, temp temp <[EMAIL PROTECTED]> wrote:
What is the advantage of declaring method abstract in a intreface ?
for example
difference between
Intreface Test
{
public void test();
}
and
Intreface Test
{
public abstract void test();
}
Thanks & Regards
Sairam
---------------------------------
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]