New Year’s Day2
- 格式:ppt
- 大小:1.12 MB
- 文档页数:8


java.util包详解介绍的实⽤⼯具类库java.util包。
在这个包中,Java提供了⼀些实⽤的⽅法和。
本章介绍Java的实⽤⼯具类库java.util包。
在这个包中,Java 提供了⼀些实⽤的⽅法和数据结构。
例如,Java提供⽇期(Data)类、⽇历(Calendar)类来产⽣和获取⽇期及时间,提供随机数(Random)类产⽣各种类型的随机数,还提供了堆栈(Stack)、向量(Vector) 、位集合(Bitset)以及哈希表(Hashtable)等类来表⽰相应的数据结构。
图8.1给出了java.util包的基本层次结构图。
下⾯我们将具体介绍其中⼏个重要的类。
┌java.util.BitSet │java.util.Calendar │ └java.util.GregorianCalendar │java.util.Date │java.util.Dictionary │ └java.util.Hashtable │ └java.util.Properties │java.util.EventObject │java.util.ResourceBundle ┌普通类┤ ├java.util.ListResourceBundle │ │ └java.util.PropertyResourceBundle │ │java.util.Local │ │java.util.Observable │ │java.util.Random │ │java.util.StringTokenizer │ │java.util.Vector │ │ └java.util.Stack Java.util┤ └java.util.TimeZone │ └java.util.SimpleTimeZone │ ┌java.util.Enumeration ├接 ⼝┤java.util.EventListener │ └java.util.Observer │ ┌java.util.EmptyStackException └异常类┤java.util.MissingResourceException │java.util.NoSuchElementException └java.util.TooManyListenersException 图8.1 java.util包的基本层次结构8.2 ⽇期类Date Java在⽇期类中封装了有关⽇期和时间的信息,⽤户可以通过调⽤相应的⽅法来获取系统时间或设置⽇期和时间。
2022—2023学年度第一学期高三期末调研考试英语试题注意事项:1.答卷前,考生务必将自己的姓名、准考证号填写在答题卡上。
2.回答选择题时,选出每小题答案后,用铅笔把答题卡上对应题目的答案标号涂黑。
如需改动,用橡皮擦干净后,再选涂其他答案标号。
回答非选择题时,将答案写在答题卡上,写在本试卷上无效。
3.考试结束后,将本试卷和答题卡一并交回。
第一部分听力(共两节,满分30分)做题时,先将答案标在试卷上。
录音内容结束后,你将有两分钟的时间将试卷上的答案转涂到答题卡上。
第一节(共5小题;每小题1.5分,满分7.5分)听下面5段对话。
每段对话后有一个小题,从题中所给的A、B、C三个选项中选出最佳选项。
听完每段对话后,你都有10秒钟的时间来回答有关小题和阅读下一小题。
每段对话仅读一遍。
例:How much is the shirt?A.£ 19.15.B.£ 9.18.C.£ 9.15.答案是C。
1. Where does the conversation probably take place?A. In a supermarket.B. In a restaurant.C. On the street.2. When is the man's birthday party?A. On July 20.B. On July 23.C. On July 26.3. What will the woman do this afternoon?A. Go sightseeing.B. Go to a dancing class.C. Stay at home.4. Why did the man leave Boston?A. The town was too small.B. He found a job in California.C. He had problems with the language.5. What does the woman ask the man to do?A. Play games.B. Finish his homework.C. Help with the housework.第二节(共15小题;每小题1.5分,满分22.5分)听下面5段对话或独白。
必修三Unit 1W H Y DO WE CELEBRATE FESTIVALS?Use prior knowledgeM atch the festivals with the descriptions.1. Halloween2 Thanksgixdng Day2 The Boryeong Mud FestivalIt takes place near a popular beach in South Korea, of which the mud is considered rich in minerals and used in skincare products.a. This is when Americans remember the hard times when they first arrived in the country.b. This festival is at the end of October, when people carve pumpkins into jack-o'-lanterns, attendcostume parties and ask for treats such as candy.1.2.3.Understand the text I. M atch the following information with the festivals①It has religious origins.②People light firecrackers.③It was celebrated during the springtime.④People get together to celebrate over a meal.⑤It has become an exciting festival for children.⑥People decorate churches and town halls with flowers and fruit.⑦Families get together to admire the moon and enjoy mooncakes.⑧It featured a parade and a great feast with music, dancing, and sports.1. Halloween:2. Mid-Autumn Festival:3. Chinese Spring Festival:4. The harvest festival in ancient Egypt:5. The harvest festival in some European countries:IL Fill in the blanks with purposes of the activitiesActivities1. Light firecrackers2. Give up lighting firecrackers3. Celebrate the harvest festivalPurposesI.To2. To3. ToIIL Match the following effects with their causes, Causes1. Businesses take advantage of the celebrations.2. Modern society develops and new ideas spread.3. Online shopping websites and social media apps exist.EffectsFestivals are becoming more and more commercial.A. It is much easier for the public to spend more on gifts for their loved ones.B. Some traditions may fade away and others may be established.1-3Critical thinking1. What's your opinion on giving up lighting firecrackers during the Spring Festival?2. List some festival customs that have changed over time and give the reasons for their changes.答案:Use prior knowledgec1. baU n derstand the textL1 .®©.⑦2 .②.③⑧3 .④⑥IL1. drive away the evil spirits and celebrate the new yearavoid air pollution2. show gratitude for the year's supply of foodIII.1-3 ACBCritical thinking略附:以下是编辑归纳的本单元的一些重要词块,请根据提示写出相应的中/英文。