Tuesday, July 5, 2011

Generate set/get method at JDeveloper


Share at Facebook

If you want to generate the accessors for the fields of a class using JDeveloper, below is the way to do that.

1) Write your class with the private and public fields.

2) On the source code, right click and you'll see a menu.

3) From the menu, select "Generate accessors..."

4) It will display a box and from there you can define the accessors for your fields easily.




No comments: