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

题目
单选题
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/literal

B

 RPC/encoded

C

 Document/encoded

D

 Document/literal

E

 Document/literal wrapped


相似考题
更多“单选题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 ”相关问题
  • 第1题:

    指出下列哪个方法与方法public void add(int a){}为错误的重载方法()

    A、public int add(int a)

    B、public void add(long a)

    C、public int add(long a)

    D、public void add(float a)


    答案:A

  • 第2题:

    下列哪些是方法public  int  add (int a)的重载方法?() 

    • A、  public  int  add (long a);
    • B、  public  void  add (int a);
    • C、  public void add (long a);
    • D、  public  int  add (float a);

    正确答案:A,C,D

  • 第3题:

    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/literal
    • B、 RPC/encoded
    • C、 Document/encoded
    • D、 Document/literal
    • E、 Document/literal wrapped

    正确答案:A

  • 第4题:

    现有:  public  class  TestDemo{     private int X-2;      static int y=3;  public  void method(){      final int i=100;      int j  =10;     class Cinner {  public void mymethod(){      //Here     }     }     }     } 在Here处可以访问的变量是哪些?() 

    • A、X
    • B、y
    • C、j
    • D、i

    正确答案:A,B,D

  • 第5题:

    public class TestDemo{   private int x = 2;  static int y = 3;  public void method(){     final int i=100;     int j = 10;      class Cinner{  public void mymethod(){  //Here       }    } } }  在Here处可以访问的变量是哪些?() 

    • A、x
    • B、 y
    • C、 i
    • D、 j

    正确答案:A,B,C

  • 第6题:

    public class ConstOver {  public ConstOver (int x, int y, int z)  {  }  }   Which two overload the ConstOver constructor?()   

    • A、 ConstOver ( ) { }
    • B、 Protected int ConstOver ( ) { }
    • C、 Private ConstOver (int z, int y, byte x) { }
    • D、 Public Object ConstOver (int x, int y, int z) { }
    • E、 Public void ConstOver (byte x, byte y, byte z) { }

    正确答案:A,C

  • 第7题:

    public class MethodOver {   private int x, y;   private float z;   public void setVar(int a, int b, float c){   x = a;   y = b;   z = c;   }   }   Which two overload the setVar method?()

    • A、 void setVar (int a, int b, float c){  x = a;  y = b;  z = c;  }
    • B、 public void setVar(int a, float c, int b) {  setVar(a, b, c);  }
    • C、 public void setVar(int a, float c, int b) {  this(a, b, c);  }
    • D、 public void setVar(int a, float b){  x = a;  z = b;  }
    • E、 public void setVar(int ax, int by, float cz) {  x = ax;  y = by;  z = cz;  }

    正确答案:B,D

  • 第8题:

    public abstract class Shape {  private int x;  private int y;  public abstract void draw();  public void setAnchor(int x, int y) {  this.x = x;  this.y = y;  }  }  Which two classes use the Shape class correctly?()

    • A、 public class Circle implements Shape { private int radius; }
    • B、 public abstract class Circle extends Shape { private int radius; }
    • C、 public class Circle extends Shape { private int radius; public void draw(); }
    • D、 public abstract class Circle implements Shape { private int radius; public void draw(); }
    • E、 public class Circle extends Shape { private int radius;public void draw() {/* code here */} }
    • F、 public abstract class Circle implements Shape { private int radius;public void draw() { / code here */ } }

    正确答案:B,E

  • 第9题:

    单选题
    public class Parent{   public void change(int x){}  }   public class Child extends Parent{   //覆盖父类change方法   }   下列哪个声明是正确的覆盖了父类的change方法?()
    A

     protected void change(int x){}

    B

     public void change(int x, int y){}

    C

     public void change(String s){}

    D

     public void change(int x){}


    正确答案: B
    解析: 暂无解析

  • 第10题:

    单选题
    现有      public class Parentt      public void change (int x){)     )      public class Child extends Parent{     //覆盖父类change方法     }      下列哪个声明是正确的覆盖了父类的change方法?()
    A

      protected void change (int x){}

    B

      public void change(int x,  int y){}

    C

      public void change (int x){}

    D

      public void change (String s){}


    正确答案: D
    解析: 暂无解析

  • 第11题:

    多选题
    public abstract class Shape {  private int x;  private int y;  public abstract void draw();  public void setAnchor(int x, int y) {  this.x = x;  this.y = y;  }  }  Which two classes use the Shape class correctly?()
    A

    public class Circle implements Shape { private int radius; }

    B

    public abstract class Circle extends Shape { private int radius; }

    C

    public class Circle extends Shape { private int radius; public void draw(); }

    D

    public abstract class Circle implements Shape { private int radius; public void draw(); }

    E

    public class Circle extends Shape { private int radius;public void draw() {/* code here */} }

    F

    public abstract class Circle implements Shape { private int radius;public void draw() { / code here */ } }


    正确答案: B,F
    解析: 暂无解析

  • 第12题:

    单选题
    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/literal

    B

     RPC/encoded

    C

     Document/encoded

    D

     Document/literal

    E

     Document/literal wrapped


    正确答案: D
    解析: 暂无解析

  • 第13题:

    include<iostream.h>

    class A

    {

    private:

    int x,y;

    public:

    void f1(int i=0,int j=0){x=i;y=j;}

    void print(){cout<<x<<" "<<y<<endl;}

    void f1(int i=0){x=i,y=0;}

    };

    void main()

    {

    A a;

    a.f1(5);

    a.print();

    }


    正确答案:
    a.f1(5);重载函数产生了二义性。应删去其中一个函数f1。

  • 第14题:

    给定java代码如下所示,在A处新增下列()方法,是对cal方法的重载。public class Test {  public void cal(int x, int y, int z) { } //A } 

    • A、public int cal(int x,int y,float z){return 0;}
    • B、public int cal(int x,int y,int z){return 0;}
    • C、public void cal(int x,int z){}
    • D、public viod cal(int z,int y,int x){}

    正确答案:A,C

  • 第15题:

    Given:  1. public class Method Over {  2. public void set Var (int a, int b, float c) {  3. }  4. }   Which two overload the set Var method()?

    • A、 private void set Var(int a, float c, int b) {}
    • B、 protected void set Var(int a, int b, float c) {}
    • C、 public int set Var(int a, float c, int b) {return a:}
    • D、 public int set Var(int a, int b, float c) {return a:}
    • E、 protected float set Var(int a, int b, float c) {return c:}

    正确答案:A,C

  • 第16题:

    public class Parent{     public void change(int x){} }  public class Child extends Parent{     //覆盖父类change方法  }  下列哪个声明是正确的覆盖了父类的change方法?() 

    • A、 protected void change(int x){}
    • B、 public void change(int x, int y){}
    • C、 public void change(String s){}
    • D、 public void change(int x){}

    正确答案:D

  • 第17题:

    class BaseClass{  private float x= 1.0f;  protected void setVar (float f) {x = f;}  }  class SubClass extends BaseClass   {  private float x = 2.0f;  //insert code here  }   Which two are valid examples of method overriding?()        

    • A、 Void setVar(float f) {x = f;}
    • B、 Public void setVar(int f) {x = f;}
    • C、 Public void setVar(float f) {x = f;}
    • D、 Public double setVar(float f) {x = f;}
    • E、 Public final void setVar(float f) {x = f;}
    • F、 Protected float setVar() {x=3.0f; return 3.0f; }

    正确答案:C,E

  • 第18题:

    Given:  1.  public class ConstOver {  2.  public constOver(int x, int y, int z) {  3.  }  4.  }   Which two overload the ConstOver Constructor?()

    • A、 ConstOver() {}
    • B、 protected int ConstOver(){}
    • C、 private ConstOver(int z, int y, byte x ) {}
    • D、 public Object ConstOver(Int x, int y, int z) {}
    • E、 pubic void ConstOver (byte x, byte y, byte z) {}

    正确答案:A,C

  • 第19题:

    public class MethodOver  {  public void setVar (int a, int b, float c)  {  }  }   Which two overload the setVar method?()  

    • A、 Private void setVar (int a, float c, int b)  { }
    • B、 Protected void setVar (int a, int b, float c) { }
    • C、 Public int setVar (int a, float c, int b) (return a;)
    • D、 Public int setVar (int a, int b, float c) (return a;)
    • E、 Protected float setVar (int a, int b, float c) (return c;)

    正确答案:A,C

  • 第20题:

    多选题
    public class MethodOver  {  public void setVar (int a, int b, float c)  {  }  }   Which two overload the setVar method?()
    A

    Private void setVar (int a, float c, int b)  { }

    B

    Protected void setVar (int a, int b, float c) { }

    C

    Public int setVar (int a, float c, int b) (return a;)

    D

    Public int setVar (int a, int b, float c) (return a;)

    E

    Protected float setVar (int a, int b, float c) (return c;)


    正确答案: D,C
    解析: 暂无解析

  • 第21题:

    多选题
    public class ConstOver {  public ConstOver (int x, int y, int z)  {  }  }   Which two overload the ConstOver constructor?()
    A

    ConstOver ( ) { }

    B

    Protected int ConstOver ( ) { }

    C

    Private ConstOver (int z, int y, byte x) { }

    D

    Public Object ConstOver (int x, int y, int z) { }

    E

    Public void ConstOver (byte x, byte y, byte z) { }


    正确答案: B,C
    解析: 暂无解析

  • 第22题:

    多选题
    给定java代码如下所示,在A处新增下列()方法,是对cal方法的重载。public class Test {  public void cal(int x, int y, int z) { } //A }
    A

    public int cal(int x,int y,float z){return 0;}

    B

    public int cal(int x,int y,int z){return 0;}

    C

    public void cal(int x,int z){}

    D

    public viod cal(int z,int y,int x){}


    正确答案: B,D
    解析: 暂无解析

  • 第23题:

    多选题
    public class MethodOver {  private int x, y;  private float z;  public void setVar(int a, int b, float c){  x = a;  y = b;  z = c;  }  }   Which two overload the setVar method?()
    A

    void setVar (int a, int b, float c){ x = a; y = b; z = c; }

    B

    public void setVar(int a, float c, int b) { setVar(a, b, c); }

    C

    public void setVar(int a, float c, int b) { this(a, b, c); }

    D

    public void setVar(int a, float b){ x = a; z = b; }

    E

    public void setVar(int ax, int by, float cz) { x = ax; y = by; z = cz; }


    正确答案: A,B
    解析: 暂无解析

  • 第24题:

    ( 难度:中等)下面哪个函数是 public void example(){...} 的重载函数?
    A.private void example( int m){...}
    B.public int example(){...}
    C.public void example2(){...}
    D.public int example ( int m, float f){...}
    E.public int example ( int m, float f, int cc){...}

    答案:DE