Write a java program to compare numeric value of two characters and print the character of higher numeric value
Answers
Answered by
1
Answer:
Java double type comparison can be done through the following methods:
static int compare(double d1, double d2) compares the two specified double values.
int compareTo(Double anotherDouble) compares two Double objects numerically.
boolean equals(Object obj) compares this object against the specified object.
Similar questions