我是编程新手,我正在学习Java.我只是想知道为什么我应该在只有一个实现类时使用接口?
java implementation interface
implementation ×1
interface ×1
java ×1