User-defined methods are procedures that can be defined by specifying a return type, name, parameter list and code block.