MCQ Answer

If a is of type int and b is of type float what would be the resultant data type of a+b?

If a is of type int and b is of type float what would be the resultant data type of a+b?

Topic : JAVA Value and Types

A. int

B. float

C. double

D. short




Correct Answer is :

B. float



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad