== It is an assignment operator . It is a relational or comparison operator. It is used for assigning the value to a variable. It is used for comparing two values.
Read moreWhat is a == b in Java?
a==b is a condition checking or you can call it a comparison operator which checks whether the value of a and b are equal or not . Edit: the == is also used in Java with reference variables to check whether both of them are pointing to the same reference or not.
Read moreWhat does == mean?
== is an logic operator and it is requesting a boolean it should not be confused with = which is used to for example set a value to a variable. You can use == to set a condition like already described from the other comments. So it is used for testing if to values are equal(works for each datatype).4 Kas 2016
Read more