【分录题】写出下面程序的运行结果(注意大小写 空格和英文符号) public class ABC { public static
已帮助 人
【分录题】写出下面程序的运行结果(注意大小写、空格和英文符号) public class ABC { public static void main(String args[]) { AB s = new AB("Hello!", "I love JAVA."); System.out.println(s.toString()); } } class AB { String s1; String s2; public AB(String str1, String str2) { s1 = str1; s2 = str2; } public String toString() { return s1 + s2; } }

回答
共1条回复-
15,4,3
