Java: Recursive Handshake Function

Java: Recursive Handshake Function

This was an assignment for an advance java class at my local community college. I was required to use a static recursive method calculate the number of handshakes that would occur with n number of people in a room. Each person shakes hands with everyone once.

Leave a Reply

Your email address will not be published. Required fields are marked *