public static void main(string args) different types code example Example: public static void main(String[] args) public static void main(String[] args)