Should we have a team coding standard that the names of abstract classes have prefix Abstract ? e.g.
public abstract class AbstractB implements B {}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, in fact if you look at the javadocs of the standard library at http://download.oracle.com/javase/6/docs/api/ you’ll find that the list of classes in the bottom-left frame begins with abstract classes using the naming convention you have mentioned in your question.
Take any one of them, say the first one, and check its definition:
AbstractAction. It indeed implementsActionwhich is again similar to your convention. It’s subclasses are named like:ClosedAction,MaximizeAction, etc.