文件名称:experiment1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.77kb
-
已下载: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
experiment1/mainwork/HelloWorldApplet.java
experiment1/mainwork/本Java程序设计实验要求.txt
experiment1/mainwork
experiment1
experiment1/mainwork/HelloWorldApplet.java
experiment1/mainwork/本Java程序设计实验要求.txt
experiment1/mainwork
experiment1
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.