Topic: 一个简单的问题

  Print this page

1.一个简单的问题 Copy to clipboard
Posted by: zyj0021
Posted on: 2007-10-27 08:42

用package打包生成的文件夹或文件,是不是意味着把当前的目录看成是顶级包名?

2.Re:一个简单的问题 [Re: zyj0021] Copy to clipboard
Posted by: JiafanZhou
Posted on: 2007-10-27 21:00

I don't really understand your question here.

"package" is a keyword in Java language, in order to solve the name collision problem. e.g.

package com.cjsdn.server;

Then your source java code will be put into such a com/cjsdn/server directory.

Hope this helps.
Jiafan


   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