public int setVar(int a, int b, float c) { ...}
Which
of the following methods correctly overload the above method?
(WRONG!)
public int setVar(int a, float b, int c){
return
this(a, c, b);
}
this( ... ) can only be called in a constructor and that too as a first statement.
No comments:
Post a Comment