Discussion :: JUnit MCQs
-
What is the output of following set of code ?int a,b;a = (b = 10) + 5;
Answer : Option C
Explanation :
b is assigned 10 and after that its value is added with 5 and then saved in a, so a will be 15.
Be The First To Comment