试题与答案

下列关于构造方法的叙述中,错误的是( )。 A.Java语言规定构造方法名与类名必

题型:单项选择题

题目:

下列关于构造方法的叙述中,错误的是( )。

A.Java语言规定构造方法名与类名必须相同
B.Java语言规定构造方法没有返回值,但不用void声明
C.Java语言规定构造方法不可以重载
D.Java语言规定构造方法只能通过new自动调用

答案:

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

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

参考答案:C

试题推荐
题型:完形填空

It was an early morning in summer. In the streets, sleepy-eyed people were moving quickly, heading towards their  36 .This was the beginning of another  37  day in New York City.   38  this day was to be different.

Waiting  39 the crowded streets, on top of a  40 110 stories high, was Philippe Pettit.This daring Frenchman was about to  41 a tightrope(绷索)between the two towers of the World Trade Center.

Philippe took his first  42  with great care.The wire held. Now he was 43 he could do it.  44 only a balancing Polar, Philippe walked his way across, a  45 of 131 feet.

Soon the rush-hour  46 began to notice. What a   47  !There, 1350 feet above the street, a 48 figure was walking on air.

Philippe made seven  49 , back and forth(来回).He wasn't satisfied with just  50  .At times,he would turn,sit down,and  51 go on his knees.Once,he had the astonishing  52  to lie down on the thin thread. And thousands of  53  watchers stared with their hearts beating fast.

After the forty-five-minute  54 ,Philippe was taken to the police station. He was asked  55  he did it.Philippe shrugged(耸肩)and said,“When I see two tall buildings, I walk.”

36.A. homes                 B. jobs                    C.buses                          D.offices

37.A.working               B.hot                      C. ordinary                   D. same

38.A.And                   B.So                                   C.But                           D.Thus

39.A.for                       B.in                             C.by                               D.above

40.A.roof                            B.position                     C.wall                          D.building

41.A.throw                   B.walk                         C.climb                        D.fix

42.A.act                    B.landing                        C.step                          D.trip

43.A.sure                            B.uncertain                   C.glad                          D.nervous

44.A.Through               B.Against                     C.With                         D.On

45.A.distance                B.height                       C.space                        D.rope

46.A.streets                  B.crowds                  C.passengers                 D.city

47.A.height                  B.pleasure                    C.wonder                        D.danger

48.A.great                    B.strange                  C.public                       D.tiny

49.A.experiments     B.circles                       C.trips                  D.movements

50.A.walking           B.staying                  C.acting                       D.showing

51.A.almost                  B.even                         C.often                         D.rather

52.A.spirit                    B.result                        C.strength                     D.courage

53.A.patient                  B.terrified                    C.pleased              D.enjoyable

54.A.show                    B.trick                         C.try                            D.program

55.A.how                            B.why                          C.whether                     D.when

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