What will be the output of the following program?
Correct Answer : B
The program execution starts from the
main method. Two objects namely
c are created, the value of the product is stored in the variable
multiply and the respective values are printed using the variables defined in those classes. The values stored in
Hence, the answer is B.