Question: Part I - Build a Customer Business Object. This class will have 6 properties, custid, custiassword, custiristName, custLastName, custAddress and custEmail. Build an empty args

Part I - Build a Customer Business Object. This class will have 6 properties, custid, custiassword, custiristName, custLastName, custAddress and custEmail. Build an empty args Constructor in the Customer class that initializes all properties to 0 or "s". Also build a constructor that takes all 6 args and set the appropriate properties. Then build the following 3 methods:
To Test the selectDDB0 method use this code in the main():
Customer c1= new Customer();
c1.selectDB(custd);
c1.display();
2.) insertDB(custd, custiRasword, custibistiNams
custhastalame, custAddiss, custenail // to insert a new
Customer in the DB
3.) deldtedB(0)//this method will delete the Customer from the DB
//so to check login execute the following code
Customer c1= new Customer(); //creates empty object
c1. selectDB(id); //does the DB lookup to find Customer
String pwdb = c1.getPassword();
if (pwguiequals(pwdb)) this compares pw(from gui to the //password from the database
Part I - Build a Customer Business Object. This

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!