对于下列 Tom 类,哪个叙述是正确的 ( ) public class Test { public static void main(String args[]){ Tom cat1 = new Tom(); Tom cat2 = new Tom(100); } } class Tom { void Tom( ){ System.out.print("hello"); } Tom(int n){ System.out.print(n); } }
A.
程序运行时输出: 100
B.
有 2 个构造方法
C.
程序运行时输出: hellol00
D.
有编译错误
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】The speaker believes it's that Outliers is ________.
A.
Gladwell's apology for his own success
B.
the result of 25 years in journalism
C.
not to be taken too seriously
D.
proof that Gladwell considers he's been an successful as Bill Gates, the Beatles, and others