Only A Simple Greeting 就这么一句问候
Most handshakes are a simple greeting.
大多握手只是一种简单的问候。
Making a simple greeting on the Internet and by phone occasionally is enough.
你只需要偶尔在网上,在电话里,一个简单的问候足矣。
Listing 7 demonstrates code to get a new instance of the Calendar class, obtain the hour of the day (which is returned in a 24-hour format), and then put together a simple greeting based on that hour.
清单7给出了获得calendar类新实例的代码,从而得到一天中的具体时间(以24小时的格式返回),然后根据这个时间组合出一条简单的欢迎词。
应用推荐