The Single responsibility principle is defined on wikipedia as
The single responsibility principle is a computer programming principle that states that every module, class, or function should have responsibility over a single part of the functionality provided by the software, and that responsibility should be entirely encapsulated by the class
If a class should only have a single responsibility, how can it have more than 1 method? Wouldn’t each method have a different responsibility, which would then mean that the class would have more than 1 responsibility.
Every example I’ve seen demonstrating the single responsibility principle uses an example class that only has one method. It might help to see an example or to have an explanation of a class with multiple methods that can still be considered to have one responsibility.