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... |
|