Work Done > VALIDATIONS. Coursera DUKE UNIVE 102


VALIDATIONS.  Coursera DUKE UNIVE 102 package validations; class WorkForce { String firstName; String lastName; } class WorkForceValidations { public String nameValidations(WorkForce w, String firstName, String lastName) throws InvalidNameException,Exception { if (firstName == null && lastName == null) { throw new NullPointerException("Entry missing"); } else if (firstName.length() = ...[Show More]

Preview 1 out of 2 pages
Purchase this document to unlock the blurred part and the rest of the document

Unlock Now

Reviews( 0 )