adpater = suitable = matching = device = mode = formula


Add another class between the two classes that cannot be accessed directly.

The jdbc in Java uses the adapter mode.

jdbc is compatible with the adaptation to the underlying API access of various database vendors' databases. When we call the database, we only need to call jdbc, no need to adapt to the underlying APIs of different vendors.

Published 40 original articles · Likes0 · Visits 387

Guess you like

Origin blog.csdn.net/weixin_43780400/article/details/105633911