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 properties, custid, custiassword, custiristName, custLastName, custAddress and custEmail. Build an empty args Constructor in the Customer class that initializes all properties to or s Also build a constructor that takes all args and set the appropriate properties. Then build the following methods:
To Test the selectDDB method use this code in the main:
Customer c new Customer;
cselectDBcustd;
cdisplay;
insertDBcustd custiRasword, custibistiNams
custhastalame, custAddiss, custenail to insert a new
Customer in the DB
deldtedBthis method will delete the Customer from the DB
so to check login execute the following code
Customer c new Customer; creates empty object
c selectDBid; does the DB lookup to find Customer
String pwdb cgetPassword;
if pwguiequalspwdb this compares pwfrom gui to the password from the database
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
