Skip to content

Commit 00ed2ab

Browse files
committed
Update java-multiple-choice-questions-answers.md
1 parent 10006cd commit 00ed2ab

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
@@ -439,10 +439,10 @@ A. 1
439439

440440
#### Q. What is the output of the following application?
441441
```java
442-
String john = "john";
443-
String jon = new String(john);
444-
445-
System.out.println((john==jon) + " "+ (john.equals(jon)));
442+
String john = "john";
443+
String jon = new String(john);
444+
445+
System.out.println((john==jon) + " "+ (john.equals(jon)));
446446
```
447447
A. true true
448448
B. true false

0 commit comments

Comments
 (0)