Skip to content

Commit 7e9569a

Browse files
committed
Update java-multiple-choice-questions-answers.md
1 parent 51e8cb6 commit 7e9569a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

java-multiple-choice-questions-answers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,10 @@ a : 2
203203
J : 2
204204
```
205205
#### Q. Which of the following declarations does not compile?
206-
A. double num1, int num2 = 0;
207-
B. int num1, num2;
208-
C. int num1, num2 = 0;
209-
D. int num1 = 0, num2 = 0;
206+
A. double num1, int num2 = 0;
207+
B. int num1, num2;
208+
C. int num1, num2 = 0;
209+
D. int num1 = 0, num2 = 0;
210210
```
211211
A. double num1, int num2 = 0;
212212

0 commit comments

Comments
 (0)