【单选题】分析以下代码public class Test { public static void main(String[] args) { String s = new String("Welcome to Java"); Object o = s; String d = (String)o; }}
【单选题】分析以下代码public class Test { public static void main(String[] args) { new B(); }}class A { int i = 7; public A() { System.out.println("i from A is " + i); } public void setI(int i) { this.i = 2 * i; }}cl...