package com.codegym.task.task02.task0214; public class Solution { public static int min(int a, int b) { int m2; int min = min(a,b); if (a < b) m2 = a; else m2 = b; return m2; } public static void main(String[] args) throws Exception { System.out.println(min(12, 33)); System.out.println(min(-20, 0)); System.out.println(min(-10, -20)); } } Did I make an infinite loop or something? How do I end the loop? Also how does the min method actually access the main method? What are you declaring to connect the two? Thanks