What is the purpose of the method main in a Java program? code example Example: jave main funtion public static void main(String[] args)