Cross-resistance can take place between compounds that are chemically similar, like antibiotics within similar and different classes.
When considering antibiotics from both similar and distinct classes, there is the potential for cross-resistance among them based on their chemical makeup.