由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - java class definition and implementation
相关主题
帮忙看看???这里应该填什么Definitions of Designations
spring questionWhere can I find the definition of the method: java.lang.System.getProperties().list()
[转载] java sex package请问Hadoop要怎么学?
求救。java的格式化输出What are the key features of the EJB technology?
weird class definitionWhat are the key benefits of the EJB technology?
FFDTRe: weird class definitionServlet & Cookie 求助
Only definition is showed with F3 in Eclipse?[转载] Built a Java library
I need a source control system for my personal project2 Questions about Constructor
相关话题的讨论汇总
话题: java话题: class话题: definition
进入Java版参与讨论
1 (共1页)
s******9
发帖数: 1
1
Hi,
I've been looking into learning the java language and i have a question.
I know that java is also obj. oriented, but from the books i can't tell if
i can just have the class declarations in one file and the class definitions
in another instead of having it all in the same file? From the book, the
examples are showing me the class declaration and definitions in the same
place.........help?
g*****g
发帖数: 34805
2
Yes, java always does it this way. Separate declaration and implementation
doesn't make it more OO.

question.
if
definitions

【在 s******9 的大作中提到】
: Hi,
: I've been looking into learning the java language and i have a question.
: I know that java is also obj. oriented, but from the books i can't tell if
: i can just have the class declarations in one file and the class definitions
: in another instead of having it all in the same file? From the book, the
: examples are showing me the class declaration and definitions in the same
: place.........help?

b******y
发帖数: 9224
3
java is nice and clean in this way. Enjoy buddy. You will like Java...
1 (共1页)
进入Java版参与讨论
相关主题
2 Questions about Constructorweird class definition
这个是什么意思?FFDTRe: weird class definition
How do I do flush in Spring service layer with hibernate?Only definition is showed with F3 in Eclipse?
How do I declare a transaction among 2 spring service callsI need a source control system for my personal project
帮忙看看???这里应该填什么Definitions of Designations
spring questionWhere can I find the definition of the method: java.lang.System.getProperties().list()
[转载] java sex package请问Hadoop要怎么学?
求救。java的格式化输出What are the key features of the EJB technology?
相关话题的讨论汇总
话题: java话题: class话题: definition