Question: Finally, create the method checkDob, which validates the date of birth. If the String parameter is empty, the method should add Date of Birth required
Finally, create the method checkDob, which validates the date of birth. If the String parameter is empty, the method should add "Date of Birth required to the error label. If the date of birth is invalid, the method should add "Date of Birth format: ######## or ###### to the error label. Inside the handle method, call this method on inLuckyNum
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
