劳动保障行政争议具有的特点包括()。
A.属于民事争议范畴
B.当事人的多样性
C.以国家机关为被告
D.劳动保障行政争议的内容与当事人的法定劳动保障权利和义务相关
E.劳动保障行政争议发生在劳动关系存续期间或劳动关系终止之后,以及劳动和社会保险事务管理关系之中
A.属于民事争议范畴
B.当事人的多样性
C.以国家机关为被告
D.劳动保障行政争议的内容与当事人的法定劳动保障权利和义务相关
E.劳动保障行政争议发生在劳动关系存续期间或劳动关系终止之后,以及劳动和社会保险事务管理关系之中
第1题
选择正确的语句填入下列程序的横线处。 import java.awt.*; import java.awt.event.*; public class ex21 { static Frame. f; static FileDialog fd; public static void main(String[] args) { f = new Frame("ex21"); ______ fd. setVisible (true); System.out.println (fd.getFile ()); } }
A.new FileDialog(f, "FileDialog");
B.new FileDialog("FileDialog");
C.fd = new FileDialog(f, "FileDialog");
D.fd = new FileDialog("FileDialog");
第2题
下列Applet在坐标(30,50)处以黄色字体显示“你好!”。请选择正确的语句填入横线处。 import java.awt.*; import java.applet.*; public class ex27 extends Applet { public void paint<Graphics g) { g.drawString("你好", 30, 50); } }
A.setColor(Color.yellow);
B.g.setColor(Color. Yellow),
C.g.setFontColor(Color. yellow);
D.g.setColor(Color. yellow);
第3题
在下列程序横线处填入设置窗口大小的语句,窗口长200,宽100,请选择正确的一项______。 import java.awt.*; public class ex34 extends Frame { public static void main(String[] args) { ex34 e = new ex34(); ______ e. setVisible (true); } }
A.setSize(200, 100);
B.e.setSize(200, 100);
C.setSize(100, 200);
D.e.setSize(100, 200);
第4题
请在下列程序的横线处填入正确的语句。 import java.awt.*; import java.awt,event.*; public class ex16 { Frame. f; TextArea ta; Button btn; public static void main(String[] args) { ex16 e = new ex16(); e.m(); } public void m() { f = new Frame("ex16"); ta = new TextArea(); btn = new Button("ok"); btn.addActionListener(new MyAction()); f.add(ta, "Center"); f.add(btn, "South"); f.setSize(100, 100); f.setVisible (true); } class MyAction implements ActionListener { ______ { System. out.println (ta. getText ()); } } }
A.static void actionPcrformcd(AcfionEvent e)
B.public void action(ActionEwent e)
C.public actionPerformed(ActionEvent e)
D.public void actionPerformed(ActionEvent e)
第5题
下列程序在Frame中设定BorderLayout布局管理器,选择正确的语句填入程序的横线处。 import java.awt.*; public class ex43 extends Frame { public static void main(String[] args) { ex43 bj = new ex43("BorderLayout"); ______ obj.add("North", new Button("North")); obj.add("South", new Button("Sourth")); obj.add("East", new Button ("East")); obj.add("West", new Button ("West")); obj. add ("Center", new Button ("Center" ) ); obj.pack(); obj. setVisible (true); } public ex43(String str) { super (str); } }
A.obj.setLayout(new BorderLayout());
B.setLayout(new Borderkayout());
C.setLayout(BorderLayout());
D.obj.setLayout(BorderLayout());
第6题
下列Applet用于显示提供它的主机的IP地址。请选择正确的语句填入横线处。 import java.awt.*; import java. awt. event.*; import java.applet.Applet; import java.net. *; public class ex23 extends Applet { public void init() { setLayout(new GridLayout(2, 1); Button btm = new Button("显示IP"); final Label 1 = new Label(" "); btn. addActionListener (new ActionListener () { public void actionPerformed(ActionEvent ae) { try { URL ur1 = getCodeBase(); String strName = ur1.getHost(); ______ 1.setText (ia.toString()); } catch (Exception e) { e.printStackTrace (); } } }); add (btn); } }
A.InetAddress ia = URL.getByName(strName);
B.InetAddress ia = InetAddress.getByName(strName);
C.InetAddress ia = new InetAddress.getByName(strName);
D.InetAddress ia = InetAddress.getByName(ur1);
第7题
下列程序将类C15的对象写入文件filetxt,选择正确的语句填入下列程序的横线处。 package ch2; import java.util.*; import java.io.*; class C15______ { public iht a; public void setInt(int newa) { a = newa; } } public class Testl5 { pulibc static void main(String[] args) { C15 bj = new C15(); try { FileOutputStream fos =newFileOutputStream("ch2\\filel5.txt"); ObjectOutputStream os = ObjectOutputStream(fos); Obj.setInt(10); oos.writeObject(obj); oos.close (); fos.close(); } catch(IOException ioe) { ioe.printStackTrace(); } } }
A.implements Runnable
B.implements Sedalizable
C.extends Serializable
D.implements InputStream
第8题
请选择正确的语句填入下列程序的横线处。 import javax. Swing.*; import java.awt.*; import java.awt.event.*; public class ex46 { static String str= "单击次数:"; static intcnt = 0; public static void main(String[] args) { try{ UIManager.setLookAndFeel(UIManager. getCrossPlatformLookAndFeelClassName()); } catch(Exception e) {} JFrame. jf = new JFame("ex46"); JButton jb = new JButton("Button"); jb.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { cnt ++; j1.setText(str +cnt); } }); j1. setLabelFor (jb); jPanel jp = new JPanel(); jp.setBorder(BorderFactory.createEmptyBorder(25, 25, 25, 25); jp.setLayout(new GridLayout(0, 1)); jp.add(jb); jp.add (j1); jf.getContenPanel() .add(jp, "Center"); jf.pack(); jf.setVisible (true); } }
A.Labelj1 = new JLabel(str + "0");
B.final JLabel j1 = new JLabel(str + "0");
C.final JLabelj1 = JLabel(str + "0");
D.JLabelj1 = new JLabel(str + "0");
第9题
下列Applet在坐标(20,20)处显示一幅GIF图像,请填写正确的程序在横线处。 import java.awt.*; import java.applet.*; import java.net.URL; public class Testl3 extends Applet { Image i; public void init() { URL url=getDocumentBase(); String name="IMG nClick=over(this) title=放大0, gif"; 【 】; } public void paint(Graphics g) { g.drawImage(i,20,20,this); } }
第10题
(15 )在下列 Java Applet 程序的下划线处填入代码,使程序完整并能够正确运行。
import java.applet.*;
import java.awt.*;
public class HelloWorld 【 15 】 {
public void paint(Graphics g){
g.drawString(" Hello World! " ,25,25);
}
}
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!