请完善程序(程序文件名:Java_3.java)并进行调试。请在下画线处填入正确内容

题型:填空题

问题:

请完善程序(程序文件名:Java_3.java)并进行调试。请在下画线处填入正确内容,然后删除下画线。请勿删除注释行和其他已有的语句内容。
题目要求:
显示一个带“Welcome to Beijing”标题的天坛风景图片,图片的下方有“The Temple of Heaven”的图片说明。要求考生对Java_3.java进行完善并调试,使程序的运行结果如下图所示。


源程序:
import java.awt.*;
import javax.swing.*;
public class Java_3
public static void main(String[]args)
BeijingFrame frame=new BeijingFrame();
frame.setDefauhCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.show();


class (1) extends JFrame
public BeijingFrame()
setTitle("Welcome to Beijing");
Container contentPane=getContentPane();
BeijingPanel panel=new BeijingPanel();
contentPane.add(panel);
pack();


class BeijingPanel extends JPanel
public BeijingPanel()
setLayout(new (2) );
ImageIcon icon=new ImageIcon(:tiantan.jpg?677bce08");
jLC=new JLabel( (3) );
add(jLC, BorderLayout.CENTER);
lpanel=new JPanel();
jLS=new JLabel("The Temple of Heaven");
lpanel.add(jLS);
add(1panel,BorderLayout.SOUTH);

private JLabel jLC;
private JLabel jLS;
private JPanel panel;
private JPanel lpanel;

考点:计算机等级考试JAVA二级JAVA机试
题型:填空题
任务型阅读。阅读短文,根据其内容完成表格。
People in the United States have a national vacation on Monday in most months. So people may have a vacation on Saturday, Sunday and Monday. During the vacation, people can rest, go to interesting places or do some other things with their families. There are three great days in the United States. They are New Year’s Day, Christmas Day and Thanksgiving Day. During the days, most businesses close. People can stay at home and have fun with their families.
People in the United States usually have more than 2 weeks of paid vacation(带薪休假) anytime in a year. This usually depends on how long people have been working or what their jobs are. Usually the more time they spend working, the more time they may get for vacation.
Vacation
When
What to do
A national vacation
Saturday, Sunday and
(66) ____________
People can (67) ____________, go
sightseeing or do some other things.
Three great days
New Year’s Day, Christmas Day and (68) ____________
People can stay at home and
(69)____________ with their families.
Paid vacation
More than (70) ____________ days anytimein a year
People can have a long journey.
题型:填空题

若等腰三角形的一边长为6,周长为26,则另两边分别为(        )。

题型:填空题

在Word中,将文档中的一部分文本内容复制到别处,先要进行的操作是()。

A.复制

B.粘贴

C.选定

D.视图

E.剪切

题型:填空题

乙注册会计师是ABC会计师事务所的项目经理,在工作过程中遇到以下问题,请代其作出正确的判断。

如果乙注册会计师分别针对B公司中期和年度财务报表出具了不同的审计报告, ABC会计师事务所在进行最终业务档案的归整工作时,应当( )。

A.将其视为同一个业务,但根据制定的政策和程序,在规定的归档期限内分别完成最终业务档案的归档工作

B.将其视为不同的业务,根据制定的政策和程序,在规定的归档期限内分别完成最终业务档案的归档工作

C.将其视为完整的业务,根据制定的政策和程序,在规定的归档期限内完成最终业务档案的归档工作

D.将其视为不同的业务,根据制定的政策和程序,在规定的归档期限内一同完成最终业务档案的归档工作

题型:填空题

康明斯NTA-855-C360型发动机在起动时,错误的油门位置是()。

A.空油门

B.半油门

C.全油门

D.1/3油门

更多题库