Java coding convention about static method

前端 未结 7 620
情深已故
情深已故 2021-02-05 16:24

It is a very simple question, but I think it is a little bit controversial.

When I code Java classes I use the following order.

class Foo {

    // stati         


        
相关标签:
7条回答
  • 2021-02-05 17:21

    I put static initializers and methods before constructors, so I guess I'm following your citation.

    Why the discomfort? It seems like a small thing.

    0 讨论(0)
提交回复
热议问题