例如类A,B,A想掉用Bpublic class B{ public void getB() { return "true"; }}A类调用:B b = new B();String value = b.getB();可否明白?