Computer Applications
State whether the following statement is True or False :
The Math.min( ) can also find the minimum of three numbers.
Input in Java
9 Likes
Answer
False
Answered By
3 Likes
Related Questions
State whether the following statement is True or False :
The Math.max( ) function always returns double type value.
State whether the following statement is True or False :
The nextFloat( ) can also accept an integer number.
Predict the output of the given snippet, when executed:
int x = 1,y = 1; if(n > 0) { x = x + 1; y = y + 1; } System.out.println(x + " , " + y);What will be the values of x and y, if the value of n is given as:
(i) 1
(ii) 0 ?int a = 20, b=15; if ( a > 10 ) { a = a++; b++; } System.out.println( a + "," + b);What will be the values of a and b when executed?