This document discusses calculating the greatest common divisor (GCD) of two integers using a recursive function in Java. It defines a gcd method that takes two integers as parameters, uses recursion to keep calling itself with the remainder and original divisor until the remainder is 0, at which point the original divisor is returned as the GCD. The main method calls the gcd function with sample integers 50 and 12, and prints the result.