题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-11-05 07:37:56

[单项选择] 程序:  class MyDate{   private int year; private int month; private int day;  public MyDate(int year,int month,int day){  this.year=year;  this.month=month;      this.day=day; }  //Override Method }  为了让new MyDate(1980,11,9)==new MyDate(1980,11,9) 返回true,必须在Override Method处覆盖哪个方法?() 
A.  hashCode
B.  equals
C.  toString
D.  notify

更多"程序:  class MyDate{ &"的相关试题:

[单项选择] 程序:   class MyDate{   private int year;   private int month;   private int day;   public MyDate( int year, int month,int day){   this.year=year;   this.month=month;   this.day=day;  }   //Override Method  }   为了让new MyDate(1980,11,9)==(判断是否相等)new MyDate(1980,11,9) 返 回true,必须在Override Method处覆盖哪个方法?()
A.  hashCode
B.  equals
C.  toString
D.  notify
[单项选择] 程序:  class   TestApp{  public  static  void main (String[]  args){     int x=6;     if (x>l)  System. out. println("x>l");     else if (x>5)  System. out .println("x>5");     else if (x<10)  System. out. println("xSystem. out .println( "x<29");     else  System. out.println(“以上都不是”);     }     }  上述程序运行后的结果是哪项?()     
A. x>5
B. x>l
C. x<10
D. x<29
[简答题] 下列程序段完成什么功能? MOV  CL, 04  SHL  DX,CL  MOV  BX,AH  SHL  AX,CL  SHR  BL,CL  OR   DL,BL
[简答题] 一般程序如下:                ORG  2000H      ARY      DW   --4,3,--2,1   CNT      DW   $--ARY   VAR      DW   ARY,$+4          ┆           MOV  AX,ARY              MOV  BX,OFFSET VAR               MOV  CX,CNT               MOV  DX,VAR+2              LEA  SI,ARY            ┆   此程序段执行后,寄存器AX,BX,CX,DX与SI中的内容各是多少? 
[单项选择] 现有:      1  Interface F{}  2  class A implements F{}      3  class B extends A{}      4  class C extends B{  5    public static void main(String[]  args){      6    B b=new B();  7    //inSert C0de here      8    }      9    } 下列哪行代码插入到第7行,将抛出java.lang.ClassCaseException异常()
A.    A a=b;
B.   F f=  (C)b;
C.   F f=  (A)b;
D.   B bb=  (B)(A)b;
[简答题] 阅读下列程序段,指出它完成何种运算。 CMP  AX, 0           JGE   EXIT  NEG  AX EXIT:       ┆
[多项选择]  public class Foo {   private int val;   public foo(int v) (val = v;) }   public static void main (String args) {   Foo a = new Foo (10);   Foo b = new Foo (10);   Foo c = a;   int d = 10;   double e = 10.0;   }   Which three logical expression evaluate to true? ()
A.  (a ==c)
B.  (d ==e)
C.  (b ==d)
D.  (a ==b)
E.  (b ==c)
F.  (d ==10.0)
[单项选择]  public class X {   public static void main (String[] args)  {   byte b = 127;   byte c = 126;   byte d = b + c;   }  }   Which statement is true?()
A.  Compilation succeeds and d takes the value 253.
B.  Line 5 contains an error that prevents compilation.
C.  Line 5 throws an exception indicating “Out of range”
D.  Line 3 and 4 contain error that prevent compilation.
E.  The compilation succeeds and d takes the value of 1.
[单项选择] 下面程序的输出结果是() public class Test{  public static void main(String[] args){    String s = “abc dsf ghi”;  String[] arr = s.split(“/s”);   System.out.println(arr.length);  } }
A.  编译报错
B.  2
C.  1
D.  3
[单项选择] 程序:   class TestApp{   public static void main() String[] args){   for(int i=0;i<10;i++){   if(i==3)   break; 当循环到3时,自动跳出  System.out.print(i);  }  }  }   程序运行后的输出是哪项?()
A. 0123
B. 012
C. 0123456789
D. 012456789
[单项选择] 程序:   class TestApp{  int i  public static void main(String[] args){   for(int i=0;i<5;i++)  System.out.print(i+1);   System.out.println(i); (i没有定义)  }  }   上述程序运行后的结果是哪项?()
A.  123456
B.  123455
C.  123450
D.  编译错误
[简答题] 已知下列程序:  D1     DB    10  DUP(?)  D2     DB    30H,31H,32H,33H,34H,35H,36H,37H,38H,39H                    ┇  MOV    CX,LENGTH    D1  MOV    SI,SIZE    D1—TPYE D1  LP:MOV    AL,D2[SI]  MOV    D1[SI],AL  SUB     SI,TYPE D1  DEC     CX  JNZ      LP  HLT  问: (1)该程序执行后,D1单元开始的10个字节内容是什么?  (2)该程序完成的功能是什么?
[单项选择] 程序:  class    TestApp{  public  static void main (String[]  args){      int X=5:      switch (x){     case l:      case 2:      case 3:  System. out.println(“一季度”);      break;      case 4:      case 5: case 6:  System. out.println(“二季度”);     break;      default:  System. out.println(“三季度以上”);     break;     }     }     }  上述程序运行后的结果是哪项?()     
A.  一季度
B. 二季度
C. 三季度以上
D. 无输出
[单项选择] Your network has a single domain with 1,000 client computers that run Windows 7.  Users frequently copy data from their computers to removable drives.    You need to ensure that data that is copied to removable drives is protected.   What should you do?()  
A. Use Encrypting File System (EFS).
B. Use Active Directory Rights Management Services.
C. Configure a Group Policy to enforce the use of BitLocker To Go.
D. Enable Trusted Platform Module (TPM) hardware on all client computers.
[单项选择] You have lost all members of your current redo log file group. You issue this query: SQL> select * from v$log;  GROUP#    SEQ#     BYTES        ARC STATUS            FIRST_NAME  1                  60           153600        NO INACTIVE            01-03-09:19:34  2                  61           153600        NO CURRENT            01-03-09:19:50  You then perform an incomplete recover. You receive this message: ORA-00279:  change 309141...03/09/01 19:50:14 Needed for thread 1  ORA-00289: suggestion : /disk1/archive/arch_61.rdo ORA-00280: change 309043 for thread 1 is in  sequence #61 Specify log: {=suggested | filename | AUTO | CANCEL} How should you respond to this message?()
A. Enter the keyword AUTO.
B. Enter the keyword CANCEL.
C. Press the Enter or Return key.
D. Enter the filename ’/disk1/archive/log2a.rdo’.
[单项选择] You are building your own layout mechanism by including dynamic content for the page’s header and footersections. The footer is always static, but the header generates the  tag that requires the page name tobe specified dynamically when the header is imported. Which JSP code snippet performs the import of theheader content?() <title>
A.
B.
C.  . 
D. .  . 
[单项选择] A customer has a WebTrade application that initially uses the embedded LDAP to authenticate users. To enhance security, the customer decides to use OAM to authenticate some of the users against an external LDAP store. For this to work, a customer configured an OAMAuthenticator, but was not sure what to select for the Control Flag. What Control Flag should the customer choose?() 
A. OPTIONAL
B. REQUISITE
C. REQUIRED
D. SUFFICIENT
E. MANDATORY
[单项选择] Your company has a single Active Directory Domain Services (AD DS) domain and 1,000 client computers.   You are planning to deploy Windows 7 Enterprise to the client computers.   You need to design a custom image that will enable users to connect to a Telnet server.   What should you do?()
A.  Configure Windows Firewall to allow the Telnet program through Windows Firewall before capturing the image.
B.  Change User Account Control settings before capturing the image.
C.  Turn on the Telnet Server feature in the image.
D.  Turn on the Telnet Client feature in the image.
[多项选择] In a deployment using the lightweight access points, clients set up to authenticate with EAP-PEAPor EAP-Cisco Wireless (LEAP) cannot authenticate. Upon inspection of the Failed Attempts reportyou see the following error: "Unknown network access server NAS."  What two problems can causethis type of failure?()
A. misconfigured IP address of the AAA server on the wireless controller
B. misconfigured IP address of the wireless LAN controller on the AAA server
C. misconfigured EAP type on the wireless LAN controller
D. misconfigured shared secret on the wireless LAN controller
E. misconfigured EAP type on the AAA server

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

截图扫码使用小程序[完全免费查看答案]
请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码