Classes in Java and accessibility

前端 未结 0 1352
既然无缘
既然无缘 2020-12-04 17:43

I have got two classes:

class A {

ArrayList list = new ArrayList();

    

}


class B {
    int a;
    public B(int a) {
              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题