Please advise on physical order of Java items
Posted on 2007-08-07
Could you folks either tell me directly, or point me to links on the best practices for the physical order of items within a class?
At the moment, I'm trying to place abstract method declarations. But I'd like to know the whole ball of wax. I've read that all public methods should come first, for instance. But should they come before private class variables? Should your constructor/s always come first? Etc., etc....