IPrinter with a method Print() that returns void.IScanner with a method Scan() that returns void.MultiFunctionDevice that implements both IPrinter and IScanner.Print() method in MultiFunctionDevice to print the message "Printing document...".Scan() method in MultiFunctionDevice to print the message "Scanning document...".MultiFunctionDevice and call both Print() and Scan() methods.