Is it good practice for Java class names to be plural?

Arrays, Collections, Executors, Files, Objects, Utilities [!] – examples from JDK. It kind of violates OO design since all these classes are just namespaces holding utility or factory methods of objects in question while the name suggest they actually contain or maintain a collection of such objects. But being reasonable – I find these names readable and completely fine.

BTW looks like such a naming convention was very popular among Java 7 API designers.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)