G
Guest
Hello
I was wondering is it possible to refuse the creation of an object. For example if the user doesn’t enter a correct string (as a parameter in the constructor), could the object refuse to be created!
I was wondering is it possible to refuse the creation of an object. For example if the user doesn’t enter a correct string (as a parameter in the constructor), could the object refuse to be created!