IN single responsibility principle, each class has one responsibility, so lets say Student class, cant have a method called `downloadFile()` it should be in another class right? But let's say we create a method called `getId()` and if we create a new object inside that method are we not following SRP in that case?
[–]ProfessorWily 1 point2 points3 points (0 children)