Frage im Vorstellungsgespräch bei jambit

For Spring custom services with the only implementation we can use interface + implementation class or can implement the service in one class. Why do we need interfaces if we have the only implementation?