public class TestString 1 {  public static void main(String[] args) {  String str = “420”;  str += 42;  System.out.print(str);  }  }  What is the output?()

A .  42 B .  420 C .  462 D .  42042 E .  Compilation fails. F .  An exception is thrown at runtime.

时间:2022-10-12 15:19:46 所属题库:SCJP程序员认证考试题库

相似题目