题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-12-02 18:29:18

[单项选择] 现有:  class Guy  {  String greet()  {  return "hi";  } } class Cowboy extends Guy  {  String greet()  {  return. "howdy";}}  class  Wrangler  extends  Cowboy  {  String  greet()  {  return  "orch!"; } }  class Greetings2  {  public  static void main (String  []  args)  {  Guy g=new Wrangler();  Guy g2=new Cowboy();  Wrangler w2=new Wrangler();  System. out .print (g.greet()+g2.greet()+w2 .greet());  }  }  结果是什么?()     
A.  hi hi ouch!
B.  ouch!  howdy  ouch!
C.  hi howdy ouch!
D. 编译失败
E. 运行的咐候有异常抛出

更多"现有:  class Guy &ensp"的相关试题:

[单项选择] 现有:  String s="write a line to a file";     w.print(s+"/n");      哪一个是对的?() 
A. w即可以是PrintWriter类型,也可以足BufferedWriter类型。
B. w即不可以是PrintWriter类型,也不可以足BufferedWriter类型。
C. w可以是BufferedWriter类型,但不可以是PrintWriter类型。
D.  w以是PrintWriter类型,但不可以是BufferedWriter类型。
[单项选择] class Parent {     String one, two;  public Parent(String a, String b){     one = a;     two = b;    }  public void print(){ System.out.println(one); }    }  public class Child extends Parent {     public Child(String a, String b){     super(a,b);     }  public void print(){  System.out.println(one + " to " + two);     }  public static void main(String arg[]){     Parent p = new Parent("south", "north");     Parent t = new Child("east", "west");     p.print();     t.print();     }     }  Which of the following is correct?()
A.  Cause error during compilation. 
B.  south         east 
C.  south to north     east to west    
D.  south to north      east    
E.  south     east to west
[多项选择] You want to enhance the security within the LAN and prevent VLAN hopping.  What two steps can be taken to help prevent this?()
A. Enable BPD guard
B. Disable CDP on ports where it is not necessary
C. Place unused ports in a common unrouted VLAN
D. Prevent automatic trunk configuration
E. Implement port security
[单项选择] What is true about this statement used during import?() imp hr/hr tables= (employee, departments) file=hr.dmp ignore=y
A. It ignores duplicates.
B. It prevents character set translation on import.
C. It allows rows to be inserted into a table that already exists.
D. It ignores storage parameters in the DML executed during import.
[单项选择] You use Group Policy to standardize Internet Explorer settings on Windows 7 client computers.  Users occasionally change the Internet Explorer settings on individual client computers.  The company wants to maintain a standard Internet Explorer configuration on all client computers.   You need to ensure that the standard Internet Explorer configuration is in place each time users log on to client computers.   What should you do?()
A. Enable User Group Policy loopback processing mode.
B. Use the Group Policy Update utility to refresh Group Policy.
C. Enable Internet Explorer Maintenance Policy Processing in Group Policy.
D. Use Group Policy to disable the Advanced tab of the Internet Explorer Properties dialog box.
[单项选择] The sales team has just sold the first pSeries solution to a Windows NT customer.   The team has identified concerns with a non-existent backup strategy and some workable environmental issues.   In addition to these concerns,what other major concern should be considered?()
A. Customer skill level
B. Hardware availability
C. Lack of executive sponsorship
D. Hardware and software compatibility
[多项选择] Your company uses a SQL Server 2005 database. This database contains a trigger named trg_InsertOrders, which fires when order data is inserted into the Orders table. The trigger is responsible for ensuring that a customer exists in the Customers table before data is inserted into the Orders table. You need to configure the trigger to prevent it from firing during the data import process. You must accomplish this goal while using the least amount of administrative effort.  Which two Transact-SQL statements can you use to achieve this goal?()
A.  ALTER TABLE OrdersDISABLE TRIGGER trg_InsertOrders 
B.  DROP TRIGGER trg_InsertOrders 
C.  DISABLE TRIGGER trg_InsertOrders ON Orders 
D.  ALTER TRIGGER trg_InsertOrders  ON Orders NOT FOR REPLICATION 
E.  sp_settriggerorder@triggername= 'trg_InsertOrders', @order='None'
[多项选择] You need to ensure that survey customers are automatically notified when their survey results are available. You must also ensure that customers can manage their own recipient lists. Which two actions should you perform?()
A. Create a Subscription Management interface that will allow customers to modify their recipient lists.
B. Create a custom Notification Services Content Formatter to send an e-mail message to customers when their survey results are available.
C. Create a custom Notification Services Event Provider to send an e-mail message to customers when their survey results are available.
D. Create a Notification Services custom delivery protocol to send an e-mail message to customers when their survey results are available.
E. Create Notification Services Event rules to send an e-mail message to customers when their survey results are available.
[单项选择] You have a server named Server1 that runs Windows Server 2012 R2. Server1 has the Hyper-V  server role installed. You need to configure storage for a virtual machine to meet the following requirements:  (1)Support up to 3 TB of data on a single hard disk.  (2)Allocate disk space as needed.  (3)Use a portable storage format.  What should you configure?()
A. A pass-through disk
B. A fixed-size VHD
C. A dynamically expanding VHD
D. A fixed-size VHDX
E. A dynamically expanding VHDX
[单项选择] A customer using an IBM System Storage DS8700 is facing performance problems. After the analysis by the technical specialist, the diagnosis indicates that the cache hits may be improved by a cache upgrade.  How can the system be monitored in order to check the benefits of the cache upgrade()
A. using the "vmstat" command on the AIX servers connected via SAN to the DS8700 system
B. look at the IOPS using the DS8700
C. reading the performance reports via Tivoli Storage Productivity Center for Disk
D. generating reports using theTotalStorage Expert
[单项选择] On a Cisco Aironet 1130 Series autonomous access point, the status indicator is blinking dark blue. What does this indicate?()
A. The access point is booting.
B. A firmware upgrade is in progress.
C. The internal radio has failed.
D. An access point buffer overflow is occurring.
[多项选择] Given the output from a show route extensive command (some information removed):  10.10.0.0/16 (2 entries, 1 announced)  Communities: 64512:666 90:4070 5834:66  172.16.1.0/24 (1 entries, 1 announced)  Communities: 65000:1696 1234:666 50:7090  172.16.20.0/22 (1 entries, 1 announced)  Communities: 65544:1000 80:1001 8431:14952  192.168.33.64/26 (2 entries, 1 announced)  Communities: 10:4307 9231:1071 64512:999  Which two routes appear when a show route community 64512:* command is executed?()
A. 10.10.0.0/16
B. 172.16.1.0/24
C. 172.16.20.0/22
D. 192.168.33.64/26
[单项选择] An environment has a DC server and an Exchange server. The administrator needs to install apatch and restart both servers while minimizing downtime.  Which of the following is the BEST way torestart the servers?()
A.  Restart both servers at the same time so the servers are down at the same time.
B.  DC server first, then the Exchange server second.
C.  The order in which the servers are restarted does not matter.
D.  Exchange server first, then the DC server second.

我来回答:

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

订单号:

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