Skip to content

Commit c918464

Browse files
committed
Update java-multiple-choice-questions-answers.md
1 parent 7b88194 commit c918464

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

java-multiple-choice-questions-answers.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,4 +269,12 @@ C. Two
269269
Explanation: Objects have instance methods while primitives do not. Since int is a primitive, you
270270
cannot call instance methods on it. Integer and String are both objects and have
271271
instance methods
272-
```
272+
```
273+
#### Q. Which of the following does not compile?
274+
A. int num = 999;
275+
B. int num = 9_9_9;
276+
C. int num = _9_99;
277+
D. None of the above; they all compile.
278+
```
279+
C. int num = _9_99;
280+
```

0 commit comments

Comments
 (0)