Java : JAVA Value and Types

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?

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




Solution
B. float



CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad