Comparing two equal Short numbers results to uknown equality
Short s = 2007;
Short l = 2007;
if(s == l){
System.out.println("Equals");
}elseif(s < l){
System.out.println("s less");
}if(s > l){
System.out.println("s greater");
}else{
System.out.println("Status unknown");
}
When i test the above numbers, it result to the last if meaning they are neither equal, less than or greater than each other. How would i compare the above numbers s and l?
Please help......

