试题与答案

下列山脉的走向大体一致的是:() ①阴山②太行山③天山④贺兰山⑤南岭 A.①②③

题型:选择题

题目:

下列山脉的走向大体一致的是:(  )

①阴山   ②太行山   ③天山      ④贺兰山      ⑤南岭

A.①②③

B.③④⑤

C.①③⑤

D.②④⑤

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0612/cc07ee5d070dce9d6877c8d2d24f6c72.html

下面是错误答案,用来干扰机器的。

A、在进行他人皮肤移植时,他人皮肤植入人体后,会刺激人体的免疫系统,产生免疫反应,对他人皮肤进行排斥,抑制其成活,因此移植的皮肤相当于抗原;A正确.B、植皮时最好移植自己的皮肤,必须移植他人的皮肤时,...

试题推荐
题型:问答题

本题中,主窗口有一个按钮“打开对话框”和一个文本域,单击按钮“打开对话框”后会弹出一个对话框,对话框上有两个按钮“Yes”和“No”,单击对话框上的“Yes”和“No”按钮后返回主窗口,并在右侧文本域中显示刚才所单击的按钮信息。
import java.awt.event.*;
import java.awt.*;
class MyDialog______implements ActionListener
static final int YES=1,NO=0;
int message=-1;Button yes,no;
MyDialog(Frame f,String s,boolean b)
super(f,s,b);
yes=new Button("Yes");yes.addActionListener(this);
no=new Button("No");no.addActionListener(this);
setLayout(new FlowLayout());
add(yes);add(no);
setBounds(60,60,100,100);
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
message=-1;setVisible(false);
);

public void actionPerformed(ActionEvent e)
if(e.getSource()==yes)
message=YES;
setVisible(false);

else if(e.getSource()==no)
message=NO;
setVisible(false);


public int getMessage()
return message;


class Dwindow extends Frame implements ActionListener
TextArea text;Button button;MyDialog dialog;
Dwindow(String s)
super(s);
text=new TextArea(5,22);button=new Button("打开对话框");
button.addActionListener(this);
setLayout(new FlowLayout());
add(button);add(text);
dialog=new MyDialog(this,"Dialog",true);
setBounds(60,60,300,300);setVisible(true);
validate();
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
(System.exit(0);
);

public void actionPerformed(ActionEvent e)
if(e.getSource()==button)
______;
if(dialog.getMessage()==MyDialog.YES)
text.append("n你单击了对话框的yes按钮");

else if(dialog.getMessage()==MyDialog.NO)
text.append("\n你单击了对话框的No按钮");




public class java2
public static void main(String args[])
(new Dwindow("java2");

查看答案
微信公众账号搜索答案