regarding long and float
<p>i was developing the below code</p>

<pre><code>static String m(float i) {
    return "float";
}

static String m(double i) {
    return "double";
}

public static void main(String[] args) {
    int a1 = 1;
    long b1 = 2;
    System.out.print(m(a1) + "," + m(b1));
}
</code></pre>

<p>Both results in output float, float , what the reason behind that please advise and how can I call double please advise thanks a lot.</p>
