网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

10. interface Foo { int bar(); }  11. public class Sprite {  12. public int fubar( Foo foo) { return foo.bar(); }  13. public void testFoo() {  14. fubar(  15. // insert code here  16.);  17. }  18. }  Which code, inserted at line 15, allows the class Sprite to compile?() 

  • A、 Foo { public int bar() { return 1; } }
  • B、 new Foo { public int bar() { return 1; } }
  • C、 newFoo() { public int bar(){return 1; } }
  • D、 new class Foo { public int bar() { return 1; } }

参考答案

更多 “ 10. interface Foo { int bar(); }  11. public class Sprite {  12. public int fubar( Foo foo) { return foo.bar(); }  13. public void testFoo() {  14. fubar(  15. // insert code here  16.);  17. }  18. }  Which code, inserted at line 15, allows the class Sprite to compile?() A、 Foo { public int bar() { return 1; } }B、 new Foo { public int bar() { return 1; } }C、 newFoo() { public int bar(){return 1; } }D、 new class Foo { public int bar() { return 1; } }” 相关考题
考题 IP地址 10. 10.13.15/24表示该主机所在网络的网络号为()。 A. 10. 10. 13.0B. 10. 10. 0.0C. 10. 13.15D. 10. 0. 0.0

考题 指定同/异步串口1和2的备份优先级分别为10和20的配置为()A.backup interface 1 10; backup interface 2 20B.backup interface serial 1 10; backup interface serial 2 20C.backup interface 1 priority 10; backup interface 2 priority 20D.backup interface serial 1 priority 10; backup interface serial 2 priority 20

考题 Given:10. interface Data { public void load(); }11. abstract class Info { public abstract void load(); }Which class correctly uses the Data interface and Info class?()() A.B.C.D.E.F.

考题 下列选项中的接口声明正确的是______。A.interface Shape{...}B.abstract private interface Shape extends Area{...}C.private interface Shape{...}D.protected privated interface;

考题 In a chassis cluster with two SRX 5800 devices, the interface ge-13/0/0 belongs to which device?() A. This interface is a system-created interface.B. This interface belongs to node 0 of the cluster.C. This interface belongs to node 1 of the cluster.D. This interface will not exist because SRX 5800 devices have only 12 slots.

考题 In a JSRP cluster with two J6350 routers, the interface ge-7/0/0 belongs to which device? () A. This interface is a system-created interface.B. This interface belongs to NODE0 of the cluster.C. This interface belongs to NODE1 of the cluster.D. This interface will not exist because J6350 routers have only six slots.

考题 Which command allows you to decode packets in JUNOS?() A.debug packet interface-nameB.show interface extensiveC.traceoptions interface-nameD.monitor traffic interface interface-name

考题 Which command shows if an access list is assigned to an interface?() A. show ip interface [interface] access-listsB. show ip access-lists interface [interface]C. show ip interface [interface]D. show ip access-lists [interface]

考题 Whichcommandshowsif an accesslistisassignedtoaninterface?() A.show ip interface [interface] access-listsB.show ip access-lists interface [interface]C.show ip interface [interface]D.show ip access-lists [interface]

考题 Which of the following is not an essential prerequisite for AutoQoS to be correctly applied to an interface()A、The interface must be configured as a Multilink PPP interface.B、The correct bandwidth should be configured on the interface.C、A QoS policy must not be currently attached to the interface.D、CEF must be enableE、AutoQoS must be enabled globally before it can be enabled on the interface.F、An IP address must be configured on the interface if its speed is equal to or less than 768 kbps.

考题 What interface is created when an FC Port Channel is created on a Cisco Unified Computing System?()A、 An interface ’san-port-channel’ in NXOSB、 An interface ’port-channel’ in NXOSC、 An interface ’port-channel’ with ’mode fc’ configuredD、 An interface ’fc-port-channel’ in NXOS

考题 public interface A {  String DEFAULT_GREETING = “Hello World”;  public void method1();  }  A programmer wants to create an interface called B that has A as its parent. Which interface declaration is correct?() A、 public interface B extends A {}B、 public interface B implements A {}C、 public interface B instanceOf A {}D、 public interface B inheritsFrom A {}

考题 In a chassis cluster with two SRX 5800 devices, the interface ge-13/0/0 belongs to which device?()A、This interface is a system-created interface.B、This interface belongs to node 0 of the cluster.C、This interface belongs to node 1 of the cluster.D、This interface will not exist because SRX 5800 devices have only 12 slots.

考题 Which command allows you to view interface usage details in real-time?()A、user@host debug interface interface-nameB、user@host monitor usage interface-nameC、user@host monitor interface interface-nameD、user@host traceoptions interface interface-name

考题 To troubleshoot interface problems, you can use both the disable command and the deactivate command. Which two statements are correct?()A、If the interface is disabled, the logical unit will administratively shutdown.B、If the interface is deactivated, the physical interface will administratively shutdown.C、If the interface is deactivated, the interface configuration is ignored during commit.D、If the interface is disabled, the logical unit configuration is ignored during commit.

考题 Overlay Transport Virtualization (OTV) join interface is used to source the OTV encapsulated traffic and send it to the Layer 3 domain of the data center network. Which statements are true about OTV join interface? ()A、 Join interface is a Layer 3 entity, and with the Cisco NX-OS release 6.0, it can only be defined as a physical interface, physical subinterface, Layer 3 port channel, or Layer 3 port channel subinterface.B、 A single join interface can be defined and associated with a given OTV overlay.C、 Multiple overlays can also share the same join interface.D、 Join interface can be a loopback interface.E、 The join interface is a Layer 3 entity that can be defined as a physical interface but not as a logical one.

考题 指定同/异步串口1和2的备份优先级分别为10和20的配置为()A、backup interface 1 10; backup interface 2 20B、backup interface serial 1 10; backup interface serial 2 20C、backup interface 1 priority 10; backup interface 2 priority 20D、backup interface serial 1 priority 10; backup interface serial 2 priority 20

考题 Spanning Tree Protocol calculates path cost based on which of these? ()A、 interface bandwidthB、 interface delayC、 interface bandwidth and delayD、 hop countE、 bridge priority

考题 Which command shows if an access list is assigned to an interface?()A、show ip interface [interface] access-listsB、show ip access-lists interface [interface]C、show ip interface [interface]D、show ip access-lists [interface]

考题 单选题Which command allows you to decode packets in JUNOS?()A debug packet interface-nameB show interface extensiveC traceoptions interface-nameD monitor traffic interface interface-name

考题 单选题What is the first thing that happens when IPv6 is enabled on an interface on a host?()A A router solicitation is sent on that interface.B There is a duplicate address detection on the host interface.C The link local address is assigned on the host interface.D A neighbor redirect message is sent on the host interface.

考题 单选题In a Bridged 1483 network, which CLI commands are used to baseline an IP interface on ATM 6/1.1 and display recent IP transmit and receive statistics?()A clear ip interface atm 6/1.1 show ip interface atm 6/1.1B baseline atm interface atm 6/1.1 show ip interface atm 6/1.1C clear ip interface atm 6/1.1 show ip interface atm 6/1.1 deltaD baseline atm interface atm 6/1.1 show ip interface atm 6/1.1 delta

考题 单选题Which command allows you to view interface usage details in real-time?()A user@host debug interface interface-nameB user@host monitor usage interface-nameC user@host monitor interface interface-nameD user@host traceoptions interface interface-name

考题 多选题Overlay Transport Virtualization (OTV) join interface is used to source the OTV encapsulated traffic and send it to the Layer 3 domain of the data center network. Which statements are true about OTV join interface? ()AJoin interface is a Layer 3 entity, and with the Cisco NX-OS release 6.0, it can only be defined as a physical interface, physical subinterface, Layer 3 port channel, or Layer 3 port channel subinterface.BA single join interface can be defined and associated with a given OTV overlay.CMultiple overlays can also share the same join interface.DJoin interface can be a loopback interface.EThe join interface is a Layer 3 entity that can be defined as a physical interface but not as a logical one.

考题 多选题To troubleshoot interface problems, you can use both the disable command and the deactivate command. Which two statements are correct?()AIf the interface is disabled, the logical unit will administratively shutdown.BIf the interface is deactivated, the physical interface will administratively shutdown.CIf the interface is deactivated, the interface configuration is ignored during commit.DIf the interface is disabled, the logical unit configuration is ignored during commit.

考题 单选题In a chassis cluster with two SRX 5800 devices, the interface ge-13/0/0 belongs to which device?()A This interface is a system-created interface.B This interface belongs to node 0 of the cluster.C This interface belongs to node 1 of the cluster.D This interface will not exist because SRX 5800 devices have only 12 slots.

考题 单选题public interface A {  String DEFAULT_GREETING = “Hello World”;  public void method1();  }  A programmer wants to create an interface called B that has A as its parent. Which interface declaration is correct?()A  public interface B extends A {}B  public interface B implements A {}C  public interface B instanceOf A {}D  public interface B inheritsFrom A {}

考题 单选题What interface is created when an FC Port Channel is created on a Cisco Unified Computing System?()A  An interface ’san-port-channel’ in NXOSB  An interface ’port-channel’ in NXOSC  An interface ’port-channel’ with ’mode fc’ configuredD  An interface ’fc-port-channel’ in NXOS