请你回答一下protected,public,private的区别
参考回答:
public √ √ √ √
protected √ √ √ ×
friendly √ √ × ×
private √ × × ×
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题