由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 一道初级JAVA题求帮助
相关主题
请推荐一本Web-Based Applications with java的书kaffe javac
the best way to transfer data?土问题:一个文件路经的简单问题,帮帮忙
请教: class private data member///:~ 有什么意义
其实有很多概念都是误导性的Re: how to integrate java api doc with e
这几年Java跟其他语言的差距拉大了。文件是要放在同目录下的吗?
Dependency Injectionhow can I test own local IP address
How can I void a cookie, and delete it from the browser?(FAQ)how to make an html file in Eclipse?
Re: GridLayout一问[合集] 谁能解释一下这里的protected specifier
相关话题的讨论汇总
话题: variables话题: firstname话题: lastname话题: instance话题: class
进入Java版参与讨论
1 (共1页)
a********0
发帖数: 48
1
Try to set a class. This class should have instance variables firstName and
lastName. The firstName and lastName instance variables will hold your first
and last names. Please demonstrate understanding of encapsulation by using
the private specifier to restrict access to insatnce variables.
Thank you very much.
D**C
发帖数: 6754
2
你这是作业提吧,自己好好做,不要上来问答案

and
first
using

【在 a********0 的大作中提到】
: Try to set a class. This class should have instance variables firstName and
: lastName. The firstName and lastName instance variables will hold your first
: and last names. Please demonstrate understanding of encapsulation by using
: the private specifier to restrict access to insatnce variables.
: Thank you very much.

1 (共1页)
进入Java版参与讨论
相关主题
[合集] 谁能解释一下这里的protected specifier这几年Java跟其他语言的差距拉大了。
An interesting thing about java generics-do not laugh at me if u think it too basicDependency Injection
weird problem with DynaForm on strutsHow can I void a cookie, and delete it from the browser?(FAQ)
JavaFx languageRe: GridLayout一问
请推荐一本Web-Based Applications with java的书kaffe javac
the best way to transfer data?土问题:一个文件路经的简单问题,帮帮忙
请教: class private data member///:~ 有什么意义
其实有很多概念都是误导性的Re: how to integrate java api doc with e
相关话题的讨论汇总
话题: variables话题: firstname话题: lastname话题: instance话题: class