简体   繁体   中英

Is there an approved way to classificate Java-Classes based on their functionalities?

Some Classes are made just to create new kinds of objects, others are made just to create new methods, others both, other.. etc.

Is there an approved method, an approved way to classificate Java-Classes based on their functionalities ?

Yes. Have a look at Java design patterns. Object creation falls under Creational Patterns.

Sample reference: https://refactoring.guru/design-patterns/java

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM