问题 单项选择题

下列说法中,正确的是______。

A.Java语言是以类为程序的基本单位的

B.Java语言是不区分大小写的

C.多行注释语句必须以“∥”开始

D.在Java语言中,类的源文件名和这个类的类名可以不相同

答案

参考答案:A

解析: Java语言是区分大小写的,这是它与C语言的不同之处。所以B的说法是错误的;以“∥”开始的是单行注释,而多行注释要用“/*…*/”或“/**…*/”,所以选项C不正确;Java程序源文件名必须和public类名相同,否则编译将会出错,因此选项D不正确。

选择题
阅读理解

Ambassador Hotel:

Welcome to the Ambassador Hotel. To make your stay as enjoyable as possible, we hope you will use our facilities to the full.

Dining Room

Breakfast is served in the dining mom from 8 a. m. to 9: 30 a.m. Alternatively, the room staff will bring a breakfast tray to your room at any time after 7 a.m. In this case, please fill out a card and hang it outside your door when you go to bed.

Lunch: 12:00a.m. to2:30p.m.

Dinner: 7:30 p.m. to 9:00 p.m.

Room Service

This operates 24 hours a day; phone the Reception Desk(前台), and your message will be passed on to the room staff.

Telephones

To make a phone call, dial 0 for Reception and ask to be connected. We apologize for delays in putting calls through when the staffs are very busy. There are also public telephone booths near the Reception Desk. Early calls should be booked with Reception.

Laundry

We have a laundry in the hotel, and will wash iron and return your clothes within 24 hours. Ask the room staff to collect them.

Bar

The hotel bar is open from 12 a.m. to 2 p.m. and 7 p.m. to 1 a.m.

小题1:You would see this notice _________ .

A.in a hotel bar

B.in a hotel dining room

C.in a bedroom of a large international hotel

D.at the entrance of a small family hotel小题2: What should you do if you have arrived to stay at the hotel at 2 a.m. and want something to eat?

A.Go to the hotel shop.  

B.Go to the hotel bar.

C.Hang a message outside your door.  

D.Phone the Reception Desk.小题3: What should you do when you come back to the hotel to make an important call and see a lot of people around the Reception desk?

A.Go to your room and phone from there.

B.Ask at the Reception Desk.

C.Use one of the telephones in the entrance hall.

D.Go out again and look for a public phone box小题4:What do you think a room staff’s last job is before he goes off duty at 6 p.m.?

A.Lay the tables in the dining room.

B.Check the bedroom doors.

C.Start preparing the breakfast.

D.Wake any of the guests who have asked for early calls.