What is the result if the integer aVar is 9?

Given the code fragment: What is the result if the integer aVar is 9?

Given the code fragment: What is the result if the integer aVar is 9?

A.
10 Hello world!

B.
10 Hello universe!

C.
9 Hello world!

D.
Compilation fails.



Leave a Reply to xxx Cancel reply3

Your email address will not be published. Required fields are marked *

3 − one =


pojo

pojo

int a= 9;
if(a++A

kevin

kevin

The correct answer is A