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

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

1. interface A { public void aMethod(); }  2. interface B { public void bMethod(); }  3. interface C extends A,B { public void cMethod(); }  4. class D implements B {  5. public void bMethod() { }  6. }  7. class E extends D implements C {  8. public void aMethod() { }  9. public void bMethod() { }  10. public void cMethod() { }  11. }  What is the result?() 

  • A、 Compilation fails because of an error in line 3.
  • B、 Compilation fails because of an error in line 7.
  • C、 Compilation fails because of an error in line 9.
  • D、 If you define D e = new E(), then e.bMethod() invokes the version of bMethod()defined in Line 5.
  • E、 If you define D e = (D)(new E()),then e.bMethod() invokes the version of bMethod() defined in Line 5.
  • F、 If you define D e = (D)(new E()), then e.bMethod() invokes the version of bMethod() defined in Line 9.

参考答案

更多 “ 1. interface A { public void aMethod(); }  2. interface B { public void bMethod(); }  3. interface C extends A,B { public void cMethod(); }  4. class D implements B {  5. public void bMethod() { }  6. }  7. class E extends D implements C {  8. public void aMethod() { }  9. public void bMethod() { }  10. public void cMethod() { }  11. }  What is the result?() A、 Compilation fails because of an error in line 3.B、 Compilation fails because of an error in line 7.C、 Compilation fails because of an error in line 9.D、 If you define D e = new E(), then e.bMethod() invokes the version of bMethod()defined in Line 5.E、 If you define D e = (D)(new E()),then e.bMethod() invokes the version of bMethod() defined in Line 5.F、 If you define D e = (D)(new E()), then e.bMethod() invokes the version of bMethod() defined in Line 9.” 相关考题
考题 指定同/异步串口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

考题 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]

考题 A network administrator creates a layer 3 EtherChannel, bundling four interfaces into channel group 1. On what interface is the IP address configured?() A.the port-channel 1 interfaceB.the highest number member interfaceC.all member interfacesD.the lowest number member 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

考题 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]

考题 A network administrator creates a layer 3 EtherChannel, bundling four interfaces into channel group 1. On what interface is the IP address configured?()A、the port-channel 1 interfaceB、the highest number member interfaceC、all member interfacesD、the lowest number member interface

考题 现有:   1. interface Altitude {   2.   //insert code here  3. }    和4个声明:  int HIGH = 7;   public int HIGH = 7;   abstract int HIGH = 7;   interface int HIGH = 7;    分别插入到第2行,有多少行可以编译?()  A、 0B、 1C、 2D、 3E、 4

考题 单选题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

考题 单选题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

考题 单选题Host 1 receives a file from remote server 1. Which MAC address appears as the source address in the header of the frames received by Host 1()。A The MAC address of the NIC in Host 1B The MAC address of the NIC in server 1C The MAC address of the Fa0/0 interface of router R1D The MAC address of the s0/0/0 interface of the router R2

考题 多选题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.

考题 单选题R1 forwards a packet from Host 1 to remote Server 1. Which statement describes the use of a MAC as the frame carrying this packet leaves the s0/0/0 interface of R1()。A The frame does not have MAC addresses.B The source MAC address in the frame is the MAC address of the NIC of Host 1.C The source MAC address in the frame is the MAC address of the s0/0/0 interface of R1.D The destination MAC address in the frame is the MAC address of the NICof server 1.E The destination MAC address in the frame is the MAC address of the s0/0/0 interface of R2

考题 单选题A network administrator creates a layer 3 EtherChannel, bundling four interfaces into channel group 1. On what interface is the IP address configured?()A the port-channel 1 interfaceB the highest number member interfaceC all member interfacesD the lowest number member interface

考题 多选题Refer to the exhibit. A junior network administrator was given the task of configuring port security on SwitchA to allow only PC_A to access the switched network through port fa0/1. If any other device is detected, the port is to drop frames from this device. The administrator configured the interface and tested it with successful pings from PC_A to RouterA, and then observes the output from these two show commands.Which two of these changes are necessary for SwitchA to meet the requirements? ()APort security needs to be globally enabled.BPort security needs to be enabled on the interface.CPort security needs to be configured to shut down the interface in the event of a violation.DPort security needs to be configured to allow only one learned MAC address.EPort security interface counters need to be cleared before using the show command.FThe port security configuration needs to be saved to NVRAM before it can become active.

考题 单选题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 {}

考题 单选题现有:  1.  interface Animal  f      2.    void eat();      3.    }      4.  5.  // insert code here      6.  7. public class HouseCat implements Feline  {      8.    public void eat()    {  }     9.  }  和以下三个接口声明:  interface Feline extends Animal  (  )  interface Feline extends Animal  {void eat();    }  interface Feline extends Animal  {void eat()    {  }  }   分别插入到第5行,有多少行可以编译?A   0B   1C   2D   3

考题 单选题1. interface Animal {   2. void eat();   3. }   4.   5. // insert code here   6.   7. public class HouseCat implements Feline {   8. public void eat() { }   9. }   和以下三个接口声明:   interface Feline extends Animal { }   interface Feline extends Animal { void eat(); }   interface Feline extends Animal { void eat() { } }   分别插入到第 5 行,有多少行可以编译?()A 0B 1C 2D 3

考题 单选题现有:   1. interface Altitude {   2.   //insert code here  3. }    和4个声明:  int HIGH = 7;   public int HIGH = 7;   abstract int HIGH = 7;   interface int HIGH = 7;    分别插入到第2行,有多少行可以编译?()A  0B  1C  2D  3E  4