Monday, September 29, 2014

Lesson 27: Generating setter and getter easy way

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