【分录题】(10-8)请阅读程序 然后写出程序运行结果。 public class Demo7 { public static void mai

大学网课 已帮助 人

【分录题】(10-8)请阅读程序,然后写出程序运行结果。 public class Demo7 { public static void main(String args[]) { String tom = "Ihaveagreatdream"; String str; int x, y; x = tom.indexOf("a"); y = tom.indexOf("dream", 2); str = tom.substring(5, 7); System.out.println(x+y+str.length()); } }

【分录题】(10-8)请阅读程序 然后写出程序运行结果。 public class Demo7 { public static void mai

热搜:学然后知不足教然后知困知不足然后能自反也