Multiple Choice Question

Quiz Guidelines

 

QID: 
116
Question: 

Consider the following method...

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

Which of the following methods correctly overload the above method?

Select 2 options

A. public int setVar(int a, float b, int c){
         return (int)(a + b + c); }
B. public int setVar(int a, float b, int c){
         return this(a, c, b); }
C. public int setVar(int x, int y, float z){
         return x+y); }
D. public float setVar(int a, int b, float c){
        return c*a; }
E. public float setVar(int a){
      return a; }

Q&A Set: