java 一个类调用另一个类的方法

在要调用的类B中对调用类A实例化(
在B中:
A a = new A();
a.function();
posted @ 2017-09-06 21:39  天之骄子19  阅读(4141)  评论(0)    收藏  举报