What is the result of adding a int to a double in Java?
please tell me the result when a= 5 b= 2.4.

thank you 

        public class Question {


Adding return an int
        public int adding1(int a, double b) {
        return a+b;
        }



Adding return a double
        public double adding2(int a, double b) {
        return a+b;
        }



Multiplying return an int
        public int multiplying1(int a, double b) {
        return a*b;
        }



Multiplying return a double
        public double multiplying2(int a, double b) {
        return a*b;
        }
        }
What is the result of adding a int to a double in Java?
===

please tell me the result when a= 5 b= 2.4.

thank you 

        public class Question {


Adding return an int
        public int adding1(int a, double b) {
        return a+b;
        }



Adding return a double
        public double adding2(int a, double b) {
        return a+b;
        }



Multiplying return an int
        public int multiplying1(int a, double b) {
        return a*b;
        }



Multiplying return a double
        public double multiplying2(int a, double b) {
        return a*b;
        }
        }