| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 949 人关注过本帖
标题:JAVA问题
只看楼主 加入收藏
jasonwing27
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2004-9-5
收藏
 问题点数:0 回复次数:5 
JAVA问题

使用什么命令编译Java源代码?该命令有什么参数,这些参数都有什么用途?

使用什么命令运行Java目标程序?该命令有什么参数,这些参数都有什么用途?

main方法有什么作用?其中的各参数有什么用途?代表什么含义?

搜索更多相关主题的帖子: JAVA 
2004-09-07 13:09
Anstey
Rank: 1
等 级:新手上路
帖 子:94
专家分:0
注 册:2004-4-14
收藏
得分:0 

in command window:

编译javac //javac MyProgram.java

运行java //java MyProgram

main方法是每个application 的执行起点,每个application都是从main开始执行的


Anstey. Cheers. I love CAPPUCCINO~~
2004-09-07 14:51
Dido
Rank: 1
等 级:新手上路
帖 子:19
专家分:0
注 册:2004-6-22
收藏
得分:0 
API都能看到吧

/UploadFile/2004-8/200482604536523.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://bbs./UploadFile/2004-8/200482604536523.gif');}" onmousewheel="return imgzoom(this);" alt="" /> [url]http://holaeurope.[/url] /UploadFile/2004-6/200461618412471.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://bbs./UploadFile/2004-6/200461618412471.gif');}" onmousewheel="return imgzoom(this);" alt="" /> http://javastudy.
2004-09-12 18:39
natureyarn
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2004-9-13
收藏
得分:0 
2楼的回答好专业
2004-09-13 23:03
Kaking
Rank: 1
等 级:新手上路
帖 子:23
专家分:0
注 册:2004-9-14
收藏
得分:0 

编辑javac+空格+文件名.class

运行java+空格+文件名+(参数)(可有可无有你设置的args[]决定)

applet程序

编辑如上:运行appletviewer+空格+文件名.html

2004-09-14 14:22
lyn_gemini
Rank: 1
等 级:新手上路
帖 子:103
专家分:3
注 册:2004-9-15
收藏
得分:0 
Anstey 其实是个大侠,我崇拜

欢迎访问我的博客--*IT一粟*-- : http://lyn_gemini.
2004-09-16 13:29
快速回复:JAVA问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017220 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved