Test.java:6: height has private access in Human
System.out.println(aPerson.height);
^
1 error
Beep
出现这个类型的错误是强行调用了被private的成员
Test.java:6: height has private access in Human
System.out.println(aPerson.height);
^
1 error
Beep
出现这个类型的错误是强行调用了被private的成员