Which of the following is an interior routing protocol that is used to provide routing within autonomous systems?()A、ARPB、IGPC、BGPD、EGP
Which of the following is an interior routing protocol that is used to provide routing within autonomous systems?()
- A、ARP
- B、IGP
- C、BGP
- D、EGP
相关考题:
Give the following java class:public class Example{public static void main(String args[]){int x[] = new int[15];System.out.println(x[5]);}}Which statement is corrected?() A.When compile, some error will occur.B.When run, some error will occur.C.Output is zero.D.Output is null.
What do the following declarations mean?a) const int a;b) int const a;c) const int *a;d) int * const a;e) int const * a const;
An operator needs to transfer several files in the same directory using ftp without being prompted. Which of the following ftp subcommands must be used?() A. int put *B. int mput *C. prompt put *D. prompt mput *
Which statements can be inserted at the indicated position in the following code to make the program write 1 on the standard output when run?() public class Q4a39 { int a = 1; int b = 1; int c = 1; class Inner { int a = 2; int get() { int c = 3; // insert statement here return c; } } Q4a39() { Inner i = new Inner(); System.out.println(i.get()); } public static void main(String args[]) { new Q4a39(); } } A、c = b;B、c = this.a;C、c = this.b;D、c = Q4a39.this.a;E、c = c;
The following methods are to be published as Web services to be invoked via SOAP messages and validated with a schema: public void myMethod(int x, float y); public void myMethod(int x); public void someOtherMethod(int x, float y); Which WSDL style should be used?()A、 RPC/literalB、 RPC/encodedC、 Document/encodedD、 Document/literalE、 Document/literal wrapped
An operator needs to transfer several files in the same directory using ftp without being prompted. Which of the following ftp subcommands must be used?()A、int put *B、int mput *C、prompt put *D、prompt mput *
public interface Foo { int k = 4; 3. } Which three are equivalent to line 2?()A、 final int k = 4;B、 public int k = 4;C、 static int k = 4;D、 abstract int k = 4;E、 volatile int k = 4;F、 protected int k = 4;
Given the following code, which method declarations, when inserted at the indicated position, will not cause the program to fail compilation?() public class Qdd1f { public long sum(long a, long b) { return a + b; } // insert new method declaration here } A、public int sum(int a, int b) { return a + b; }B、public int sum(long a, long b) { return 0; }C、abstract int sum();D、private long sum(long a, long b) { return a + b; }E、public long sum(long a, int b) { return a + b; }
Which code determines the int value foo closest to a double value bar?() A、 Int foo = (int) Math.max(bar);B、 Int foo = (int) Math.min(bar);C、 Int foo = (int) Math.abs(bar);D、 Int foo = (int) Math.ceil(bar);E、 Int foo = (int) Math.floor(bar);F、 Int foo = (int) Math.round(bar);
Given the following interface definition, which definitions are valid?() interface I { void setValue(int val); int getValue(); } DEFINITION a: (a) class a extends I { int value; void setValue(int val) { value = val; } int getValue() { return value; } } DEFINITION b: (b) interface b extends I { void increment(); } DEFINITION c: (c) abstract class c implements I { int getValue() { return 0; } abstract void increment(); } DEFINITION d: (d) interface d implements I { void increment(); } DEFINITION e: (e) class e implements I { int value; public void setValue(int val) { value = val; } } A、Definition a.B、Definition b.C、Definition c.D、Definition d.E、Definition e.
Which three form part of correct array declarations?() A、 public int a []B、 static int [] aC、 public [] int aD、 private int a [3]E、 private int [3] a []F、 public final int [] a
public class Parent { int change() {…} } class Child extends Parent { } Which methods can be added into class Child?() A、 public int change(){}B、 int chang(int i){}C、 private int change(){}D、 abstract int chang(){}
Which of the following statements are legal?() A、 long l = 4990;B、 int i = 4L;C、 float f = 1.1;D、 double d = 34.4;E、 double t = 0.9F;
多选题Given the following code, which method declarations, when inserted at the indicated position, will not cause the program to fail compilation?() public class Qdd1f { public long sum(long a, long b) { return a + b; } // insert new method declaration here }Apublic int sum(int a, int b) { return a + b; }Bpublic int sum(long a, long b) { return 0; }Cabstract int sum();Dprivate long sum(long a, long b) { return a + b; }Epublic long sum(long a, int b) { return a + b; }
多选题Which lines of code are valid declarations of a native method when occurring within the declaration of the following class?() public class Qf575 { // insert declaration of a native method here }Anative public void setTemperature(int kelvin);Bprivate native void setTemperature(int kelvin);Cprotected int native getTemperature();Dpublic abstract native void setTemperature(int kelvin);Enative int setTemperature(int kelvin) {}
多选题public interface Foo { int k = 4; 3. } Which three are equivalent to line 2?()Afinal int k = 4;Bpublic int k = 4;Cstatic int k = 4;Dabstract int k = 4;Evolatile int k = 4;Fprotected int k = 4;
多选题Given the following class, which statements can be inserted at position 1 without causing the code to fail compilation?() public class Q6db8 { int a; int b = 0; static int c; public void m() { int d; int e = 0; // Position 1 } }Aa++;Bb++;Cc++;Dd++;Ee++;
单选题Given the following code: public class Person{ static int arr[] = new int[10]; public static void main(String a[]) { System.out.println(arr[1];) } } Which statement is correct?()A When compilation some error will occur.B It is correct when compilation but will cause error when running.C The output is zero.D The output is null.
多选题public interface Foo{ int k = 4; } Which three are equivalent to line 2? ()AFinal int k = 4;BPublic int k = 4;CStatic int k = 4;DPrivate int k = 4;EAbstract int k = 4;FVolatile int k = 4;GTransient int k = 4;HProtected int k = 4;
单选题The following methods are to be published as Web services to be invoked via SOAP messages and validated with a schema: public void myMethod(int x, float y); public void myMethod(int x); public void someOtherMethod(int x, float y); Which WSDL style should be used?()A RPC/literalB RPC/encodedC Document/encodedD Document/literalE Document/literal wrapped
多选题public interface Foo{ int k = 4; } Which three are equivalent to line 2?()AFinal int k = 4;BPublic int k = 4;CStatic int k = 4;DPrivate int k = 4;EAbstract int k = 4;FVolatile int k = 4;
多选题public class Parent { int change() {…} } class Child extends Parent { } Which methods can be added into class Child?()Apublic int change(){}Bint chang(int i){}Cprivate int change(){}Dabstract int chang(){}
多选题Which statements can be inserted at the indicated position in the following code to make the program write 1 on the standard output when run?() public class Q4a39 { int a = 1; int b = 1; int c = 1; class Inner { int a = 2; int get() { int c = 3; // insert statement here return c; } } Q4a39() { Inner i = new Inner(); System.out.println(i.get()); } public static void main(String args[]) { new Q4a39(); } }Ac = b;Bc = this.a;Cc = this.b;Dc = Q4a39.this.a;Ec = c;
多选题Which three form part of correct array declarations?()Apublic int a []Bstatic int [] aCpublic [] int aDprivate int a [3]Eprivate int [3] a []Fpublic final int [] a
单选题Given the following code: public class Person{ int arr[] = new int[10]; public static void main(String a[]) { System.out.println(arr[1]); } } Which statement is correct?()A When compilation some error will occur.B It is correct when compilation but will cause error when running.C The output is zero.D The output is null.
单选题Given the following code: public class Test { void printValue(int m){ do { System.out.println("The value is"+m); } while( --m 10 ) } public static void main(String arg[]) { int i=10; Test t= new Test(); t.printValue(i); } } Which will be output?()A The value is 8B The value is 9C The value is 10D The value is 11
单选题Consider the following class: class Test(int i) { void test(int i) { System.out.println(“I am an int.”); } void test(String s) { System.out.println(“I am a string.”); } public static void main(String args) { Test t=new Test(); char ch=“y”; t.test(ch); } } Which of the statements below is true?()A Line 5 will not compile, because void methods cannot be overridden.B Line 12 will not compile, because there is no version of test() that rakes a charargument.C The code will compile but will throw an exception at line 12.D The code will compile and produce the following output: I am an int.E The code will compile and produce the following output: I am a String.