问题 填空题

Java源程序是由类定义组成的,每个程序中可以定义若干个类,但是只有一个类是主类。在Java Application中,这个主类是指包含 【14】 方法的类:在Java Applet里;这个主类是一个系统类Applet的子类。

答案

参考答案:main()

解析: 该题考查对Java应用程序 (Application)与小程序(Applet)的理解。 Application带有main()方法,可以独立解释执行,而Applet则不行,它继承自系统的 Applet类,必须由浏览器或appletviewer执行。

单项选择题


In the following passage, there are 20 blanks representing words that are missing from the context. Below the passage, each blank has 4 choices marked by letter A, B, C and D respectively. There is only ONE right answer. Blacken the corresponding letter as required on your Machine-scoring ANSWER SHEET.

How many of us would temp for three years while we waited for the perfect job Not many of us, perhaps. But Wentworth Miller, the "Prison Break" star, said he chose to wait even longer time (91) he found the right job.
"Actually I think it might have been three or four years until I was lucky enough to get guest (92) on TV shows," said Miller, 34, who rose to international stardom (93) to "Prison Break" in 2006. That kind of patience and p will was portrayed in "Prison Break". Miller (94) engineering wizard Michael Scofield, who tries everything to break out of a Chicago (95) with his brother. Miller said he was fond of his character, (97) he said "exists in shades of grey".
Miller comes from a (97) of teachers. He said he didn’t seem fated for a career in the arts, (98) his passion for acting. After (99) from Princeton with an English degree, he moved (100) his parents’ request to Los Angeles to look for a stable life. He started (101) in a little company that made television movies. This (102) simply faxing, filing, walking the boss’ dog and going to the store for the boss’ lunch. Every weekend during the summer, Miller (103) go to the office (104) he didn’t have air-conditioning. "I would hang (105) in the conference room and set up camp and rob the company kitchen," recalled Miller.
(106) , Miller realized he still had questions about his choice. He decided to quit. But the boss said he was making a mistake and offered him a well-paid assistant position. "I eventually (107) that if I did the corporate job, it would be great if I was successful, but I would always wonder about the (108) . If I did the acting and was successful, I would never wonder (109) that job," he explained. He quit and temped (110) many people in the entertainment industry.

A.working

B.studying

C.graduation

D.research

单项选择题