比如
class Bird() {
public Bord() {……}
public void doThing() {……}
……
}
在程序中调用
Bird aBird = new Bird();
其中aBird就是一个句柄,类似一个安全指针。
要用doThing方法则aBird.doThing()
class Bird() {
public Bord() {……}
public void doThing() {……}
……
}
在程序中调用
Bird aBird = new Bird();
其中aBird就是一个句柄,类似一个安全指针。
要用doThing方法则aBird.doThing()
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货