问题 单项选择题

下列选项成员变量声明正确的是

A.public protected final int i;

B.abstract class F1…

C.private double height;

D.double weight

答案

参考答案:C

解析: 本题考查对成员变量的声明。成员变量的声明格式位:修饰符type变量名;其中type可以是java语言中的任意数据类型,而修饰符可以是public、protected,private,static, final,transient,volatile等。选项A错误,成员变量不能同时声明成public和protected。选项B是类的声明格式,并不是成员变量的声明。成员变量声明应以“;”结尾,选项D错误。选项C声明了一个私有的double型成员变量,为正确答案。

阅读理解

Last Monday we asked our students about how often they do the housework in Beishan Middle School. Here are the results.

Most students do the housework twice or three times a week. They often clean their rooms. Some students do the housework five times a week. They often clean the floor(地板). Some students help their parents on the farm. They think their parents are too busy, so they help them.

The results for “wash clothes” are interesting. Some students wash clothes once or twice a week. They often wash clothes on Saturdays or Sundays. Some students wash clothes three to four times a week. They only wash their own(自己的) clothes. But most students wash their clothes once a week. And they wash clothes on Sundays.

Liu Ying, a girl in Class 6, Grade 8 has lots of housework to do. She washes the dishes and cleans the floor every day. She often cooks. Sometimes three times a day. She says, “My mother isn’t healthy. My father works in another city. So I have to do most of the housework at home.”

小题1:Some students help their parents on the farm because        .

A.they think they are old enough

B.they think their parents are too busy

C.they don’t have too much homework

D.it is fun小题2: How often do most students wash their clothes?       

A.Once a week.

B.Twice a week.

C.Three to four times a week.

D.never小题3:From the passage we know that            .

A.Liu Ying is not a healthy student

B.Liu Ying is good at housework

C.Liu Ying doesn’t want to do housework.

D.Liu Ying has to do much housework.小题4:Which of the following is NOT true?      

A.Most students don’t do the housework.

B.Liu Ying is a student from Class 6, Grade 8.

C.Liu Ying cooks three times a day sometimes.

D.Liu Ying washes the dishes and cleans the floor every day.

单项选择题