Answer:
Following are the output of the given code:
Output:
12 20
Explanation:
Description of the code:
- In the java program code, two integer variable "j and k" is defined, that stores a value, that is "10 and 8", in its respective variable.
- After storing the value it uses the "j and k" variable, in this, it increments the value of j with 2, and in the k variable, it adds the value of j and stores the value in k.
- After incrementing the value, the print method is used that prints the value of "j and k", i.e, "12 and 20".
My answers are just from my personal knowledge.
1. False
2. False
3. True
4. True
5. False
6. True
7. True
8. True
9. True
10. True
11. True
12. False
13. False
14. False
15. True
I believe these are the answers!
True
…………………………………………………..