Can you write a method inside the main method? For example I found this code:
public class TestMax { public static void main(String[] args) { int i =
With proper formatting, you will notice that the max method appears in the same class as the main method, but it is not IN the main method.
max
main