SAI YEWALE

Generation

typingsThu, 01 Dec 2022

Develop a program to create employee table in database having two columns "emp_id" and "emp_name"in java

public class Emp{ private int emp_id; private String emp_name; public int getEmp_id() { return emp_id; } public void setEmp_id(int emp_id) { this.emp_id = emp_id; } public String getEmp_name() { return emp_name; } public void setEmp_name(String emp_name) { this.emp_name = emp_name; } public Emp(int emp_id, String emp_name) { this.emp_id = emp_id; this.emp_name = emp_name; } }

Questions about programming?Chat with your personal AI assistant