题目内容

下列代码的输出结果是()。
class parent
{
void printme()
{
System.out.println("parent");
}
}
class child extends parent
{
void printme()
{
System. out.println("child");
}
void printall()
{
super, printme();
this.printme();
printme();
}
}
public class test
{
public static void main(String args[])
{
child myc=new child();
myc.printall();
}
}

A. import java.awt.*;
B. import java.applet.applet;
C. import java.io.*;
D. import java, awt.graphics;

查看答案
更多问题

下列语句输出结果为()。 public class test { public static void main(String args[]) String s1 =newString("HOW"); String s2=newString("How"): System.out.pnntln(!(s1.equals(s2))); } }

A. 假
B. 真
C. 0
D. 1

Section B
Directions: There are 2 passages in this section. Each passage is followed by some questions or unfinished statements. For each of them there are four choices marked A, B, C and D. You should decide on the best choice.
The world is consumed with one of the biggest scandals in Italian soccer history. There is currently a massive investigation into whether games were fixed by gambling interests, as well as allegations that elite soccer clubs—including Italy's most well-known team, Juventus—paid for favorable media coverage and controlled referees' assignments for their matches. This Italian mess comes after recent match-fixing scandals in Germany, Brazil, Belgium and Portugal. It assures that the World Cup, the biggest sporting event on earth will begin in Germany on a worrisome note.
It is hardly surprising that soccer is an attractive target for gamblers. Since the sport is taken charge of by a single referee with help from two assistant referees, there's a tremendous amount of power vested in(授予) a single person. Because the game is so low scoring, a single mistaken call can often determine the outcome.
There were no allegations of corruption, at least no official ones, in the 2002 World Cup in South Korea and Japan, but there were many examples of obviously improper call. This is not to say that any of the officials in question were corrupt. There is no reason to believe any of these stumbles came from anything other than human error in pursuit of a difficult task, one in which difficulties have been aggravated by the increased speed of the games. Still, al legations like the Italian ones increase our suspicions in an era when we have the technological means—instant re play and sensors inside sporting equipment, for example—to second-guess a referee.
There is no full-proof protection against human weakness in mind. But the best way to protect the integrity of our games is to incorporate as much technological innovation as possible to support officials. It's understandable that baseball referees are resistant to a balls-and-strikes calling machine that double-checks their proficiency. Nobody likes to have somebody, let alone some gadget(小装置), looking over their shoulder. But I still look forward to a new era of tennis where rules changes and instant-replay technology will allow some disputed line calls to have a more satisfying resolution. And I regret that the World Cup officials have shown no similar vision and inclination to innovate. They foolishly passed on a chance to incorporate computer chips in soccer balls that could have made definitive the difficult decision as to whether a ball has crossed the line into the goal. The contempt for technology invites controversy and, worse, scandal—and inevitably risks diminishing what are a great event. For those on the losing side of fatally bad calls in the World Cup, there is no consolation in "wait until four years from now."
We can learn from the first paragraph about Juventus that ______.

A. it was criticized of unfair practice in competition
B. it might be disqualified from the World Cup
C. its members were involved in gambling activities
D. it paid money to referees assigned for its matches

Experts in education and gerontology(老人医学) say that the number of retired Americans who are spending time—or planning to—on educational pursuits is growing fast. The trend is driven by such factors as increased longevity, people enjoying more years of good health, and a growing realization by many that a retirement into passivity is not only boring but can lead to atrophy(萎缩) of both mind and body. The federal government estimated in 2001 that additional life expectancy for a 65-year-old was 16.4 years for men and 19.4 years for women. That's a lot of time to fill if you're not working and in good health.
Certainly, educational opportunities aimed at the 65-and-older set aren't new. The first" lifelong learning institute" targeted specifically at retirees opened in 1962 at the New School for Social Research in New York, and there are many others that have been around for two decades or more. What's new is the tremendous variety of learning opportunities and places available for those who approach retirement. The options range from one-shot lectures, discussion classes, or day trips organized by a local college or retirement home.
Educational travel is appealing because it combines the exploration of a new place with deepening your understanding of its history, geology, or literature. For those who prefer to stay close to home, many campus-based pro grams are available that offer a college-level curriculum but don't have grades or tests. Perhaps the ultimate commitment to lifelong learning is moving into a retirement community affiliated with an educational institution. For folks who like the idea of living in a campus environment, several retirement villages are built near campuses in Ohio, New York, Virginia, Pennsylvania, and New Hampshire. The programs give residents' access to campus activities, al low them to attend or teach classes, as well as work on joint-research projects with undergrads, graduates, or faculty.
In our shorter-lived-parents' generation, people were often satisfied to define retirement in terms of what they weren't doing—namely, working. But with the possibility of 20 or more years ahead after leaving your primary job or profession, you owe it to yourself to find a positive, enjoyable way to spend your time. Continuing education might be the answer. Not only do you not have to take tests or pull an all-nighter to struggle for a good grade, you can study any topic you want, almost anywhere in the world—and on your own schedule.
More Americans are taking up education after retirements partly because ______.

A. they want to learn what they have no time to learn before retirement
B. they retire at an earlier age with more years left to learn
C. they are more wealthy to afford to continue the education
D. they find learning is a good way to fight against the process of aging

A.Seminar courses.B.Tutorial courses.C.Lecture classes.D.Laboratory classes.

A. Seminar courses.
B. Tutorial courses.
C. Lecture classes.
D. Laboratory classes.

答案查题题库