📜  关于接口,下列哪项是正确的?选择一个选项 接口可以包含构造函数 类只能实现一个接口 接口只能声明公共和受保护方法 接口不能有实例变量 代码示例

📅  最后修改于: 2022-03-11 14:58:18.754000             🧑  作者: Mango

代码示例1
Which of the below is true about Interfaces?
Pick ONE option
Interface can contain constructors
A class can implement just one interface
An interface can declare public and protected method only
An interface cannot have instance variables