Discussion :: JAVA MCQs
-
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
Explanation :
1.5 1
Be The First To Comment