File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,9 @@ D. p4
303303D. P4
304304```
305305** Explanation** : Type mismatch: cannot convert from double to float
306+ <div align =" right " >
307+ <b><a href="#">↥ back to top</a></b>
308+ </div >
306309
307310#### Q. How many instance initializers are in this code?
308311``` java
@@ -361,6 +364,10 @@ D. The code compiles but throws an exception at runtime
361364```
362365C. The code does not compile.
363366```
367+ <div align =" right " >
368+ <b><a href="#">↥ back to top</a></b>
369+ </div >
370+
364371#### Q. Which two primitives have wrapper classes that are not merely the name of the primitive with an uppercase letter?
365372A. byte and char
366373B. byte and int
@@ -410,6 +417,9 @@ D. None of the above; they all compile
410417B. double num = 2._718;
411418```
412419** Explanation** : Underscores are allowed between any two digits in a numeric literal. Underscores are not allowed adjacent to a decimal point
420+ <div align =" right " >
421+ <b><a href="#">↥ back to top</a></b>
422+ </div >
413423
414424#### Q. Which of the following is the output of this code, assuming it runs to completion?
415425``` java
You can’t perform that action at this time.
0 commit comments