Java Abstract Class Naming Convention

In this post, we will discuss the Java abstract classes naming conventions with examples.

Read complete Java naming conventions at https://www.javaguides.net/2018/08/java-standard-naming-conventions.html.

Abstract classes naming conventions

I observed in many standard libraries, the naming conventions used for Abstract class is class name must start with Abstract or Base prefix. This naming convention can vary from organization to organization. 
Example:
AbstractHibernateDao
AbstractCommonDao
AbstractBase
Let's take an example from the Spring Framework:
AbstractBean
AbstractBeanDefinition
AbstractUrlBasedView
AbstractIdentifiable

Comments