因产品供求因素导致企业未来收益不确定的风险称为()。
A.个别风险
B.经营风险
C.财务风险
D.行业风险
参考答案:B
本题的功能是获取鼠标在窗口中的位置。当鼠标移进窗口中,就会实时显示鼠标在窗口中的相对位置,比如显示为“鼠标的当前位置:X:Y”。(其中,X为横坐标,Y为纵坐标) import java.awt.*; import java.awt.event.*; import java.util.*; import javax.swing.*; public class java2 public static void main(string[]args) MouseFrame frame=new MouseFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.show(); class MouseFrame extends JFrame public MouseFrame() setTitle("java2"); setSize(WIDTH,HEIGHT); MousePanel panel=new MousePanel(); Container contentPane=getContentPane(); contentPane.add(panel); public static final int WIDTH=300; public static final int HEIGHT=200; class MousePanel extends JPanel public MousePanel() addMouseListener(new MouseHandler()); addMouseMotionListener(new MouseMorionHandler()); public void paintComponent(Graphics g) super.paintComponent(g); String text="鼠标指针位置:"+mousex+":"+mousey; g.drawstring(text,10,10); private int mousex,mousey; private class MouseMotionHandler______ public void mouseMoved(MouseEvent event) mousex=event.getX(); mousey=event.getY(); repaint(); public void mouseDragged(MouseEvent event) mousex=event.getX(); mousey=event.getY(); repaint(); private class MouseHandler______ public void mousePressed(MouseEvent event) mousex=event.getX(); mousey=event.getY();
--- Do you know the big boy ________ helped to catch the thief yesterday ?
--- Yes, Li Ming, the chairperson of the Students’ Union .
A.the one
B.which
C.whom
D.who