>>>>> "Jesper" == Jesper Pedersen <[EMAIL PROTECTED]> writes:

 Jesper> You can say that methods in an interface are abstract, since
 Jesper> the interface doesn't contain an implementation.

 Jesper> But I see no reason for declaring them abstract, since the
 Jesper> abstract keyword only has meaning when used in a class
 Jesper> definition.

 Jesper> Sun doesn't declare methods in the interfaces abstract --
 Jesper> check the Javadoc generated from EJB 2.0 PFD2 compared to
 Jesper> jboss-j2ee.

JLS 9.4:

For compatibility with older versions of Java, it is permitted but
discouraged, as a matter of style, to redundantly specify the
_abstract_ modifier for methods declared in interfaces.

-- 

joe

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to