Java do not have any mechanism that magically know how your class should be represented in string format. That is why you must implement it by your own.
You need to override the toString() method to gain "corect" value
class House {
//your code
@Override
public String toString() {
return "The string representation";
}
}