搜索
编程论坛
→
开发语言
→
『 JAVA论坛 』
→ 一个问题?
标题:
一个问题?
取消只看楼主
牛仔我很忙
等 级:
新手上路
帖 子:48
专家分:0
注 册:2008-3-27
楼主
问题点数:0 回复次数:0
一个问题?
public class Fruit1 {
int grams;
int cals_per_gram;
public static void main(String[] args) {
Fruit1 f=new Fruit1();
System.out.println("f="+f.toString());
}
}
这段代码的结果是:f=Fruit1@35ce36
想知道具体的解释
谢谢
搜索更多相关主题的帖子:
void
public
2008-09-25 21:02
1
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-235185-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 0.014173 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved