问题 填空题

在Java语言的所有方法中,比较特殊的方法是抽象方法,它只有方法头,没有 【13】

答案

参考答案:方法体

解析: 抽象方法就是在普通方法前面加abstract修饰,用来表示没有实现的方法。也就是说,这样的方法只有方法头,而没有方法体。abstract修饰符可修饰类、接口和方法,用于类是说该类不能被实例化。

选择题
补全对话,情景问答

Read and choose. (选择恰当的句子完成对话)

Joy: Hi, Bill. This is Joy. Can you go skating with me tomorrow afternoon?

Bill:     C    I have to go home and do my chores.                          

Joy: What chores do you have to do?                                        

Bill: 1. _____                                                            

Joy: How often do you do these things?                                    

Bill: 2. _____ Do you have to do chores at home?                              

Joy: 3. _____ Can we play together this Sunday?                                

Bill: Sure! When will we meet?                                            

Joy: 4. _____                                                          

Bill: O! See you then.                                                    

Joy: 5. _____                     

A. I have to clean my room and wash my clothes.

B. No , I don't.                              

C. Sorry, I can't.                            

D. See you.                                    

E. Twice a week.                              

F. At ten o'clock.