首页 › 答案 › 题库 › 网课

定义接口的格式为()

定义接口的格式为()
A、接口修饰符interface接口名称extends父接口名{}
B、interface接口名称extends父接口名{}
C、接口修饰符interface接口名称{}
D、以上都对
正确答案:以上都对