We can make an operator accept different types of arguments and execute different codes accordingly. In the example below, we can add either a Bathroom
or a Bedroom
to the House. The + operator figures out the type of room passed to it and adds it to its respective list.