Q19
What is the result of the following code in Java? Integer a = 100; int b = a;
A.
`No error, it compiles successfully`
AnswerB.
`Compilation error`
C.
`Runtime error`
D.
`NullPointerException`
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board