When used with objects, what is the equality ( == ) operator really comparing?
What will be an ideal response?
The == operator does not check that the objects have the same values for instance variables. It checks for equality of memory address, so two objects in two different locations in memory would test as being “not equal” when compared using ==, even if their instance variables contain equivalent data.
You might also like to view...
Some file properties can be user-modified with customized tags that describe and categorize files.
Answer the following statement true (T) or false (F)
Keyword _________ specifies that an object or variable is not modifiable.
Fill in the blank(s) with the appropriate word(s).
The __________ ___________ provides DC voltage to various parts of a computer
Fill in the blank(s) with correct word
Rollover images are often used to help create a feeling of action and excitement on a web page.
Answer the following statement true (T) or false (F)