使用interface声明一个接口时,只可以使用哪个修饰符修饰该接口?
A.private
B.publi
C.static
D.protected
- · 有4位网友选择 B,占比50%
- · 有2位网友选择 C,占比25%
- · 有2位网友选择 D,占比25%
A.private
B.publi
C.static
D.protected
A.private
B.protected
C.pnvate protected
D.public
A.private protected
B.protected
C.private
D.public
A、public double getSort (int x, int y){return x+y;}
B、public int getSort(double y){return (int ) (y*y);}
C、public void getSort(float x) {x*=x;}
D、public void getSort(int x) {x*=x;}
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!