The toString method is a method that is inside EVERY object, that corresponds to the string representation of it during prints.

Default toString makes a string of the method and the memory address. Employee@1dbd16a6

Replacing this method

you can also replace this method with your own