Hi:
Any one can tell me how to build and use an package??
TX !
wky086
Printable View
Hi:
Any one can tell me how to build and use an package??
TX !
wky086
Hi,
create a new package:
1. create a new class
2. at the very beginning (top of the source file!) insert (for example) "package com.myCompany.packageName" (of course you can use another name for your package but they say you should use the name of the company domain...)
3. write your code
use a package:
use "import com.myCompany.packageName.*;" or "import com.myCompany.packageName.ClassName;"
Hope this helps,
Andi