How many methods is too many for a class?

The bottom line is, do not worry about how many methods your class is. Worry about making sure your class does not take on unrelated concerns, and that you have a reasonable public interface that has easy to understand methods. Correct, but if it is a utility class, upto 10-15 is fine .29 Ağu 2011

Sizin İçin Seçtik  How do you declare a method in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *