编程题:1编写一个输出Hello World!的程序,用两种方式实现(Application、Applet)。application程序public class apublic static void main(String args)System.out.println(Hello World!);2、applet程序public class b extends java.applet.Appletpublic paint(java.awt.Graphics g)g.outstring(Hello World!,10,10);2.求10个数中的最小值并输出。import java.util.Scanner;public class Test public static void main(String args)int num=new int10;int min;Scanner scan=new Scanner(System.in);System.out.prin