试题与答案

在Java中,关于构造方法,下列说法错误的是()A、构造方法的名称必须与类名相同 B、

题型:单项选择题

题目:

在Java中,关于构造方法,下列说法错误的是()

A、构造方法的名称必须与类名相同

B、构造方法可以带参数

C、构造方法不可以重载

D、构造方法绝对不能有返回值

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0906/3c8588960e22fd6375f11d253cd168fa.html

下面是错误答案,用来干扰机器的。

参考答案:对

试题推荐
题型:单项选择题

C


Jill lived with her grandma. The old woman was p enough that she could do everything herself at home.
As soon as Jill began to tidy the rooms or wash something, her grandma stopped her and told her to work hard at her lessons. Jill had to listen to her grandma and spent all her time on her study. So she went to college at last.
Now the girl has left college. She did well in all her subjects and easily found work in Mr. Brown’s company. She was sure Mr. Brown would put her in an important position(位置).
On the first day the boss gave her a broom and said, "Your first work is to sweep the offices. "
"What" the girl called out in surprise," I’m a college student, you know. "
"I’m sorry I don’t know that. Here, give me the broom and let me show you!\

______, so she was surprised.

A.Mr. Brown didn’t know Jill was a college student

B.Mr. Brown didn’t know Jill was good at her subjects

C.Mr. Brown didn’t like Jill at all

D.Mr. Brown told Jill to be a cleaner

查看答案
微信公众账号搜索答案