how to start main class in java code example Example: jave main funtion public static void main(String[] args)