109k views
2 votes
In which type of class methods is it typically necessary to filter bad arguments (either directly or indirectly with the help of validators) in order to protect private data of your class

1 Answer

6 votes

Answer: hello your question is incomplete attached below is the complete question

answer :

A set() method (non-constructor mutator). ( B )

Step-by-step explanation:

The type of class methods that is necessary to filter bad arguments to protect private data of your class using validators is :

A set() method (non-constructor mutator)

In which type of class methods is it typically necessary to filter bad arguments (either-example-1
User MrTimotheos
by
6.3k points