Quiz: Constraint Validation in JS
Let’s take a short quiz on constraint validation in JS.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
(Select all that apply) Consider the simple information design model shown in the class diagram.

Which of the following methods have to be added to the Publisher
class in a corresponding JS class model?
A.
checkName(n: String): ConstraintViolation
B.
getName(): String
C.
setName(n: String)
D.
checkNameAsId(n: String): ConstraintViolation
1 / 3