永发信息网

请教为什么各种JAVA的书里的class的名总用Foo,Bar

答案:2  悬赏:60  手机版
解决时间 2021-04-05 15:12
  • 提问者网友:趣果有间
  • 2021-04-05 07:26
请教为什么各种JAVA的书里的class的名总用Foo,Bar
最佳答案
  • 五星知识达人网友:千杯敬自由
  • 2021-04-05 08:13
Martians have three fingers on one hand, and only one finger on the other. Male Martians have their three fingers on the left hand, while females have their three fingers on the right hand. This makes waltzing and certain other things easier.
Like human beings and any other intelligent race, Martians started counting by using their fingers. Just as we used our 10 fingers to set things off in groups and powers of 10, the Martians used their four fingers to set things off in groups and powers of four. Over time, our civilization standardized on a set of 10 digits to serve our number system. The Martians, similarly, standardized on a set of four digits for their number system. The four digits follow, along with the names of the digits as the Martians
pronounce them: ┬ (xip), ∫(foo), ∩ (bar), = (bas).
全部回答
  • 1楼网友:从此江山别
  • 2021-04-05 09:29
应该是习惯,不仅仅是java,很多面向对象的语言在举例子的时候都爱用,Foo和Bar这两个词来做类名。 再看看别人怎么说的。
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯