Does the comparison operator also compares data types...
the following program gives the output Equals..Please advise...
class Check{
public static void main(String[] args){
int numA=100;
double numA=100;
if(numA==numB) System.out.println("Equals");
else System.out.println("Not Equal");
}
}