Answer:
Bacteria have the ability to develop resistance by using enoded instructions by their DNA. Generally, the resistance genes present within plasmids. In this mechanism, they are able to share their DNA and make other bacteria resistant too.
This mechanism takes place by avoiding the expression or effectiveness of antiboitics designed to kill or prevent these strains. The strains that are able to survive, share their DNA with others and increase their numbers.