SyntaxFix
Write A Post
Hire A Developer
Questions
A shorter solution to have the max value of array:
double max = Arrays.stream(decMax).max(Double::compareTo).get();