For SRP am I correct to say that the class can have multiple responsibilities such as writing to file, reading from a file, creating files, saving the file contents to an array. But as long as all of these responsibilities all fall under one category such as things dealing with files, it is considered as adhering to SRP?
Hi Professor,
For SRP am I correct to say that the class can have multiple responsibilities such as writing to file, reading from a file, creating files, saving the file contents to an array. But as long as all of these responsibilities all fall under one category such as things dealing with files, it is considered as adhering to SRP?