Saturday, 10 August 2013

incompatible vs incomparable type

incompatible vs incomparable type

I am confused with these two types of error message in java.
For incompaitable types, it might occur in the following scenario
if(integer=="String")
In what scenario will i get a incomparable type in java? Whats the main
difference between these two?

No comments:

Post a Comment