Question
What is the output of this program?class increment {public static void main(String args[]){double var1 = 1 + 5;Â double var2 = var1 / 4;int var3 = 1 + 5;int var4 = var3 / 4;System.out.print(var2 + " " + var4);Â }Â }
Answer: Option C
Was this answer helpful ?
1.5 1
Was this answer helpful ?
More Questions on This Topic :
Question 3. Which of these is not a bitwise operator? ....
Question 5. Which of these is returned by greater than, ....
Question 7. Which of these statement is correct? ....
Question 9. Which of these have highest precedence? ....
Submit Solution