We can perform validation on the actual class objects, if the value provided isnt whats expected we can throw an exception during creation. Furthermore there can be a validation test, at the end of init to determine whether the mandatory arguments are acceptable
We can perform validation on the actual class objects, if the value provided isnt whats expected we can throw an exception during creation. Furthermore there can be a validation test, at the end of init to determine whether the mandatory arguments are acceptable