设为首页
收藏本站
开启辅助访问
切换到窄版
登录
立即注册
中问网首页
我的收藏
站长博客
搜索
搜索
本版
帖子
用户
第一问答网
»
论坛
›
中问网
›
问答
›
say.java:7:找不到符号
返回列表
发新帖
say.java:7:找不到符号
[复制链接]
11
|
4
|
2009-4-25 15:02:54
|
显示全部楼层
|
阅读模式
代码如下
/*
这是我的第一个实验程序
*/
public class say{
public static void main(String[] args){
//打印内容.
System.out.printIn("hello,this is my first app");
}
}
say.java:7:找不到符号
符号:方法 printIn(java.lang.String)
位置:类 java.io.PrintStream
System.out.printIn("hello,this is my first app");
1错误
回复
使用道具
举报
千问
|
2009-4-25 15:02:54
|
显示全部楼层
println()这个输出方法名写错了
是l不是i, 小写 不是大写
LZ 刚开始学java啊
加油啊开始的时候这种错误经常犯...
回复
使用道具
举报
千问
|
2009-4-25 15:02:54
|
显示全部楼层
println,p和l都是小写,后面那个是l二不是i...
回复
使用道具
举报
千问
|
2009-4-25 15:02:54
|
显示全部楼层
你只是犯了一个小错误而已,不用灰心。你把println错写成了printIn,注意,倒数第二个字母是小写的l而不是大写的I.祝你好运!...
回复
使用道具
举报
千问
|
2009-4-25 15:02:54
|
显示全部楼层
/* 这是我的第一个实验程序 */ public class say{ public static void main(String[] args){//打印内容System.out.println("hello,this is my first app");} } 试下吧! 你的println打错了!...
回复
使用道具
举报
返回列表
发新帖
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
立即注册
本版积分规则
发表回复
回帖后跳转到最后一页
千问
主题
0
回帖
4882万
积分
论坛元老
论坛元老, 积分 48824836, 距离下一级还需 -38824837 积分
论坛元老, 积分 48824836, 距离下一级还需 -38824837 积分
积分
48824836
加好友
发消息
回复楼主
返回列表
问答
热门排行