I just learned from my colleague that there's an easy way to generate setter and getter method for your variable in Eclipse. You double-click on the variable (to block it) and then right click and choose Source->Generate Getters and Setters. See, how easier could that be?

No comments:
Post a Comment