摘要:
public class AutoScore extends Applet { //private static final long serialVersionUID = 1L; java.awt.Button btnNew = new java.awt.Button(); Button button2 = new Button(); Label lblA = new Label(); Label lblOp = new Label(); Label lblB = new Label(); Label label5 = new Label(); ... 阅读全文
摘要:
一、Aplication1、简单的整行与输入程序: String s = ""; System.out.println("Please input a line: "); try{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); s = in.readLine(); }catch(IOException e){} System.out.println("You have en... 阅读全文
摘要:
一、Java语言1、Java语言的出现: 1991年 SUN MicroSystem 2、Java的特点:1)、“一次编译,到处运行” “独立于平台”是指无需修改程序便能够运行在不同的计算环境中。JAVA程序被编译成一种名为字节码的格式,字节码可被任何带有JAVA解释器的操作系统、软件或设备运行。您可以在Windows XP 机器上创建JAVA程序,然后在Linux Web 服务器、使用OS X 的Apple Mac 和 Palm 个人数字助理上运行它。只要平台安装了Java 解释器,便可以运行字节码。 1、简单易学 2、面向对象 3、平台无关性 4、安全稳定 5、支持多线程 6、很好地支持. 阅读全文