enables the overriding a methods body
enables setting the return value of a function
enables throwing an exception for a method invocation