Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 178.09K Points
Coach

Q. Which of the following declarations does not compile?

(A) double num1, int num2 = 0;
(B) int num1, num2;
(C) int num1, num2 = 0;
(D) int num1 = 0, num2 = 0;

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.