also plz tell if there is nething wrong in this piece of code-
I think as the return type is static and final we can't return different value everytime?Code:public static final Integer multiply(Integer x, Integer y) { return (y == 0) ? 0 : multiply(x, y - 1) + x; }


Reply With Quote


Bookmarks