Cla*_*diu 4 java variables inheritance accessibility
Java中以下变量的可访问性有何不同?
public class Joe {
public int a;
protected int b;
private int b;
int c;
}
Run Code Online (Sandbox Code Playgroud)
我最感兴趣的是最后一个人在做什么.
| 归档时间: |
|
| 查看次数: |
7810 次 |
| 最近记录: |