Assume that we have defined a class called House that has at…
Assume that we have defined a class called House that has attributes of owner’s name, address, number of bedrooms, and number of baths. The attribute names in the class definition are name, address, numBRs and numBAs. numBRs and numBAs are integers. The other attributes are strings (characters). If we create two different House objects, with variable names h1 and h2, that have identical attribute values, what will be the result of the comparison h1 == h2?
Read Details