文件名称:experiment1
- 所属分类:
- JSP源码/Java
- 资源属性:
- [MacOS] [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 李*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
个人原创:熟悉JDK的安装和配置,学习如何编写并运行简单的Application程序和Applet程序(能输出一条简单的问候信息):
1.在Editplus(或JCreator ,Textpad)环境下编写一个HelloWorld.java程序,
(1)在主方法static public void main(String[ ] args)中调用System.out.println()方法,使程序输出一条问候信息;
(2) 编译运行程序,观察运行情况和输出结果。(使用JDK环境,调用javac.exe和java.exe编译和执行程序)
2.在Editplus(或JCreator ,Textpad)环境下编写一个HelloWorldApplet.java程序。
(1)在public void paint(Graphics g)方法中调用g.drawString()方法,使程序输出一条问候信息;
(2) 编译运行程序,观察运行情况和输出结果。(使用JDK环境,调用javac.exe编译和浏览器解释执行Applet程序)
-Familiar with the installation and configuration of the JDK, learn how to write and run a simple Application procedures and Applet (can output a simple greeting message):
A. Editplus (or JCreator, Textpad) Environment write a HelloWorld.java procedures,
(1) is called in the main method static public void main (String [] args) System.out.println () method, the program outputs a greeting message
(2) compile and run the program, observe the operation and output results. (Using JDK environment, call the javac.exe and java.exe compile and execute the program)
Two. Under Editplus (or JCreator, Textpad) Environment write a HelloWorldApplet.java program.
G.drawString (1) public void paint (Graphics g) method call () method, the program outputs a greeting message
(2) compile and run the program, observe the operation and output results. (Using JDK environment, to call javac.exe compiled and interpreted by the browser to perform Applets)
1.在Editplus(或JCreator ,Textpad)环境下编写一个HelloWorld.java程序,
(1)在主方法static public void main(String[ ] args)中调用System.out.println()方法,使程序输出一条问候信息;
(2) 编译运行程序,观察运行情况和输出结果。(使用JDK环境,调用javac.exe和java.exe编译和执行程序)
2.在Editplus(或JCreator ,Textpad)环境下编写一个HelloWorldApplet.java程序。
(1)在public void paint(Graphics g)方法中调用g.drawString()方法,使程序输出一条问候信息;
(2) 编译运行程序,观察运行情况和输出结果。(使用JDK环境,调用javac.exe编译和浏览器解释执行Applet程序)
-Familiar with the installation and configuration of the JDK, learn how to write and run a simple Application procedures and Applet (can output a simple greeting message):
A. Editplus (or JCreator, Textpad) Environment write a HelloWorld.java procedures,
(1) is called in the main method static public void main (String [] args) System.out.println () method, the program outputs a greeting message
(2) compile and run the program, observe the operation and output results. (Using JDK environment, call the javac.exe and java.exe compile and execute the program)
Two. Under Editplus (or JCreator, Textpad) Environment write a HelloWorldApplet.java program.
G.drawString (1) public void paint (Graphics g) method call () method, the program outputs a greeting message
(2) compile and run the program, observe the operation and output results. (Using JDK environment, to call javac.exe compiled and interpreted by the browser to perform Applets)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
experiment1\mainwork\HelloWorld.java
...........\........\HelloWorldApplet.java
...........\........\本Java程序设计实验要求.txt
...........\mainwork
experiment1
...........\........\HelloWorldApplet.java
...........\........\本Java程序设计实验要求.txt
...........\mainwork
experiment1