Find out more about what we do

Header Ads

cs506 assaignment no 1 solution fall 2021

CS506- Web Design and Development 

CS506 assaignment no 1 solution fall 2021

Due Date =  09/12/2021




Uploading instructions

Your submission must include:

 

  1. All the source code (.java files), class files (.class extension), and other if necessary, files to compile and run your program.
  2. Your assignment should be in .zip /.rar format. Other file formats will not be accepted.
  3. Save your assignment with your ID (e.g. bc000000000.zip).
You have to create two java classes 1 is Employee.java and the other is Main.java and one txt file (i.e. empData.txt

Employee class must have the following data members & member functions:

                      empId: String   

                      empName: String

                      empDoB: String

                      empQualf: String

                      empExp: String

                     empPScale: String

                     Constructors: Explicit Default Constructor

                     Standard Setters: setEmpID(…), setEmpName(…), setEmpDoB(…), setEmpQualf(…), setEmpExp(…), setExpPScale(…).

                     Standard Getters: getEmpID(), getEmpName(), getEmpDoB(), getEmpQualf(), getEmpExp(), getEmpPScale().


Main class should contain the main () method. At first, it should load data from text file (i.e. empData.txt) and save in ArrayList. After that, the interface should display following options:

 

1.   1.   Add a new Employee 

2.  2.    Search an Employee

3.      Exit 







Post a Comment

2 Comments

thank you to visit this site