Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java EE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 如下程序存在编译错,但不知道哪里错?
笨笨猪





发贴: 7
积分: 0
于 2009-05-13 15:20 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
public class MyC{
int x = 1;
int y = 43,z;
z = x*y;
float f = 0.12f;
System.out.println("f = " +f);
}



作者 Re:如下程序存在编译错,但不知道哪里错? [Re:笨笨猪]
linux_china



版主


发贴: 752
积分: 240
于 2009-05-13 16:06 user profilesend a private message to usersend email to linux_chinasearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
你居然连hello world的程序都不愿意看,晕倒啦! 我真的不知道是否该回复你。

public class MyC {
public static void main(String[] args) {
int x = 1;
int y = 43, z;
z = x * y;
float f = 0.12f;
System.out.println("f = " + f);
}
}



作者 Re:如下程序存在编译错,但不知道哪里错? [Re:笨笨猪]
笨笨猪





发贴: 7
积分: 0
于 2009-05-14 10:04 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感谢热心帮扶!


作者 Re:如下程序存在编译错,但不知道哪里错? [Re:笨笨猪]
mw3943





发贴: 8
积分: 0
于 2009-07-04 13:09 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
缺少了main()函数- -~


bet365
888真人
云博
bet365

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923