The Java coding convention states that methods (getters and setters are methods) should be after constructors declarations . It just a convention and it exists to make code easier to read in general.
The Java coding convention states that methods (getters and setters are methods) should be after constructors declarations . It just a convention and it exists to make code easier to read in general.