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

您没有登录

» Java开发网 » 科技英语  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 jdk手册里面field是什么意思?
flyingdd





发贴: 42
于 2005-06-23 14:18 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
field是什么意思?


作者 Re:jdk手册里面field是什么意思? [Re:flyingdd]
yuhuang



CJSDN高级会员


发贴: 212
于 2005-06-24 10:14 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
“field是什么意思? ”这真是个问题。用中文的“域”、“字段”、“成员”来表述,可以理解吗?


作者 Re:jdk手册里面field是什么意思? [Re:yuhuang]
flyingdd





发贴: 42
于 2005-06-24 17:10 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:jdk手册里面field是什么意思? [Re:flyingdd]
ww1ww1





发贴: 202
于 2005-08-16 16:33 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
成员变量。

一个class里面可能有三样东西:field, constructor, and method

也就是说除了method和constructor以外的都是field了。



作者 Re:jdk手册里面field是什么意思? [Re:ww1ww1]
ditty

负资产小资

CJSDN高级会员


发贴: 1038
于 2005-08-16 16:45 user profilesend a private message to usersend email to dittysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
ww1ww1 wrote:
成员变量。

一个class里面可能有三样东西:field, constructor, and method

也就是说除了method和constructor以外的都是field了。

补充一下,还应该有:block,include block and static block.


public class Hello{
static{
System.out.println("hello's static block.");
}

{
System.out.println("hello's block.");
}

public void print(){
System.out.println("Hello's print");
}

public static void main(String args[]){
Hello hello = new Hello();
hello.print();
}
}



内忧外患的时代,洗心革面,阿咪豆腐~
作者 Re:jdk手册里面field是什么意思? [Re:flyingdd]
quiet





发贴: 2
于 2005-09-04 11:10 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:jdk手册里面field是什么意思? [Re:flyingdd]
abai229





发贴: 3
于 2005-09-13 15:56 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:jdk手册里面field是什么意思? [Re:flyingdd]
Jcat

熊猫的猫



发贴: 266
于 2005-10-03 15:21 user profilesend a private message to usersend email to Jcatsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
类是对数据的封装,field就是“域”,也就是数据(静态的);method是方法,也就是数据具有的动作(动态的)。

请区分:域,类变量(也叫静态域),局部变量




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