Can null == null?

If you think of it from a programming (i.e. pointer reference) point of view then, yes, two references of null have the same pointer value and, since most of the popular languages will fall back to pointer-equality if no custom equality is defined, null does equal null .

Read more

What is the meaning of ==?

In programming languages == sign or double equal sign means we are comparing right side with left side . And this comparison returns true or false. We usually use this comparison inside if condition to do something specific. Double equal operator is a very common used operator after single equal.

Read more