How To Set Getters And Setters Method In java Using Eclipse?
1.First create a new class in your project.
2.Then set variables.
package com.Bean;
public class Services {
private int id;
private String services;
}
3.Right click inside the curly braces.
select source and go to getters and setters method.
5.select all terms then click on generate.
6.Generate successfully.
Comments
Post a Comment