There is no argument given that corresponds to the required formal parameter

后端 未结 2 1281
失恋的感觉
失恋的感觉 2021-01-25 01:32

\"There

I don\'t have any idea about this

2条回答
  •  孤城傲影
    2021-01-25 02:12

    I could not open the screenshot of CenterExamen class. The error happens becauase your base class CenterExamen does not have a default constructor. It does not mean like you need to have a default constructor in the base class. In such cases, when inheriting a class, the inherited class should instantiate the base class by passing the required parameters.

提交回复
热议问题