Java declarations (ordering)
- by incrediman
In Java, what's generally the most accepted way to organize a class in terms of the order in which declared data members and methods should be listed in the class file, keeping in mind the following and anything else you can think of for each one:
its visibility
whether it's a constructor, method, or member
if it's a method, does it overload, or override other method(s)?