public String makinStrings() {  String s = “Fred”;  s = s + “47”;  s = s.substring(2, 5);  s = s.toUpperCase();  return s.toString();  }  How many String objects will be created when this method is invoked?() 

A .  1 B .  2 C .  3 D .  4 E .  5 F .  6

时间:2022-10-06 12:10:58 所属题库:SCJP程序员认证考试题库

相似题目