math max java
// Math.max(a, b);
dataType max(dataType num1, dataType num2)
The datatypes can be int, float, double or long.
Parameters : The function accepts two parameters num1 and num2
among which the maximum is returned.Math.max(a, b);
// a & b = int, double, float, or long
Also in Java:
- how to check if rs next is null
- java random between two strings
- java console text color
- how to play an audio in java
- java arraylist
- how to remove spaces from an array in java
- java how to print a newline
- for each loop java
- how to create an abstract method in java
- how to select a element in an arraylist java
- java code to concatinate integer
- formatting an integer in java
- java stream remove
- funzione random in java
- start thread java
- java android development find element by id
- java ternary operator
- java.sql.SQLException: Before start of result set
- java how to change the length of an array
- how to add an image to a gui in java windowbuilder
- how to separate no and text in java
- java stack methods
- how to set frame colo in java
- java string to integer