Skip to content

Commit fd8cfb4

Browse files
committed
Update java-multiple-choice-questions-answers.md
1 parent 6e65dd3 commit fd8cfb4

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
@@ -34,10 +34,10 @@ List
3434
Set
3535
```
3636
#### Q. Which of the following declarations does not compile?
37-
A. double num1, int num2 = 0;
38-
B. int num1, num2;
39-
C. int num1, num2 = 0;
40-
D. int num1 = 0, num2 = 0;
37+
A. double num1, int num2 = 0;
38+
B. int num1, num2;
39+
C. int num1, num2 = 0;
40+
D. int num1 = 0, num2 = 0;
4141
```
4242
A. double num1, int num2 = 0;
4343
```

0 commit comments

Comments
 (0)