请问第一个bug里no matching是为什么

img

构造函数需要参数啊,你参考你实例化student类对象s1的时候你就带了参数,teacher咋不带参数呢。
你的teacher类里面也没有无参的构造函数