下面两个类A和B 不在 同一个包中,标号1的语句是正确的。 package p1 ; class A{ private int i; public void m(){ } } import p1.A; package p2 ; public class B{ public void m(){ A a = new A(); // (1) a.m();// (2) } }
【简答题】根据句义和首字母写出所缺的单词。 1. Kate's glass is empty. She wants a f______ one. 2. I think my father can help you m______ your broken bike. 3. I have two pencils. One is short, the other is l______. 4. Please ope...