A method has a signature (name + parameter types) and a return type. Java is always pass-by-value: primitives copy their value; object variables copy the reference — so a method can mutate the object but cannot make the caller's variable point to a different object. Overloading Several methods may share a name if their parameter lists differ. The compiler picks the most specific match at compile time. Varargs int sum(int... nums) accepts zero or more arguments as an array. It must be the last parameter. Recursion A method that calls itself needs a base case. Deep recursion can throw StackOverflowError; convert to a loop or use memoization for overlapping subproblems. Static vs instance methods static methods belong to the class (Math.max) and cannot use this; instance methods operate on…