+1
the way I think of this is can you directly instantiate the entity?
If No entity is abstract
If Yes entity is concrete

M-
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Paul Benedict" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, March 22, 2007 12:50 AM
Subject: Re: [JAVA] Use of declaring method abstract in a interface


> All methods in an interface are implicitly abstract. If you declare them 
> "abstract", you're just making it verbose. Some people don't even put 
> "public" in interface methods since all interface methods are implicitly 
> public too.
> 
> Paul
> 
> temp temp 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]
> 
>

Reply via email to