Object Oriented Programming

1: Assuming that properly overloaded the / operator for a Number class, and that a and b are two members of the Number class, which expression is legal?
A.

a/b

B.

a operator/ (b)

C.

Both (a) and (b)

D.

None of these

 

Answer : C

Explanation :

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.