Coding style question
In Jave, I have a buch of field with a bunch of associated getter setter method. Do you prefer to group them per field or fields first then getter/setters?

style1

    int A  
    int getA()
    
    int B  
    int getB()

style2

    int A
    int B
    
    int getA()
    int getB()




Coding style question
===

In Jave, I have a buch of field with a bunch of associated getter setter method. Do you prefer to group them per field or fields first then getter/setters?

style1

    int A  
    int getA()
    
    int B  
    int getB()

style2

    int A
    int B
    
    int getA()
    int getB()



