问题描述:
[单选]
执行代码String str = new String("Hello");的过程中创建了几个对象?()
A.0
B.1
C.2
D.3
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
上一篇:关于以下代码的说法正确的是()class Father { public Integer getLength(){ return new Integer(4); }}class Son extends Father { public Long getLength(){ return new Long(5); }}public class Main { public static void main(String args【】) { Father f = new Father(); Son s = new Son(); System.out.println("%d,%d", f.getLength(), s.getLength()); }}
下一篇:以下程序片段执行后,选项中哪个表示式的结果为true?()Float s = new Float(0.1f);Float t = new Float(0.1f);Double u = new Double(0.1);
- 我要回答: 网友(216.73.216.135)
- 热门题目: 1.课堂提问、课堂讨论等形式是教 2.为了判定学生的学业成就,在教 3.以下属于最佳行为评价的是()
