Definition of the Dependency Inversion Principle code example Example: Dependency inversion public String getData(int id) throws InvalidRecordException